Debugging

The debugRunner function is equivalent to running sendMail(true) - all actions between debugRunner and sendMail(true) are equivalent. Both functions will send all runtime notifications to the email address listed in procParams.data.admin instead of the recipient listed in procParams.data.recipient. This is most useful for testing.

Author
  • unforswearing

Methods

(inner) debugRunner(admin) → {void}

This function is added as a convenience for testing the script againt the latest form response. To automate this process you may add this function as an installable trigger in your project. See the installable triggers documentation for more information.

Parameters:
NameTypeDescription
adminstring

The email address to send errors

Returns:
Type: 
void