Is there a way to check if Google Apps Script is running in debug mode ?
For an example, I have a script for which I use prompt but, in debug mode, I want to set predefined values for these prompt.
Try debugging myfunc() with debugMyFunc();
function debugMyFunc() {
myfunc('debug');
}
function myfunc(mode) {
var mode=mode||'run';
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With