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.
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:
Name | Type | Description |
---|---|---|
admin | string | The email address to send errors |
Returns:
- Type:
- void