GAS Get the Dev Url
When running google apps scripts, it is often useful to use the dev url to save having to update your deployment each time you make a change. With the new editor, you can run a function in your script to return the dev url:
// This function is used for retrieving the Web Apps URL.
function getUrl() {
console.log(ScriptApp.getService().getUrl());
}