Hello Max, There is a step-by-step debugger in Script Editor. It can be used interactively.
You can logging output, the best option would be to just create a plain text file and append text to it inside the function that is ran on the trigger. You can do that in combination with Logger.getLog(). Thank you, Shraddha Gupta Developer Programs Engineer Hyderabad, Google India. On Thu, Jan 19, 2012 at 8:36 PM, Max Noel <[email protected]> wrote: > All right, it works now. Thank you guys. One final question: is there a > way to interactively debug, or at least capture the logging output of, > script functions run from triggers (e.g. onEdit)? > > Simply running onEdit from the script editor isn't possible, because the > "event" argument is undefined in that case (unless I missed something?). > I'm hoping there's a better way than attempting a few appendRows calls in > the function and reading the e-mail reports when they error out, because as > you can imagine it's fairly inefficient and uncomfortable. > > -- Max > > -- > You received this message because you are subscribed to the Google Groups > "Google Apps Domain Information and Management APIs" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-apps-mgmt-apis/-/Vj78kKS1TWMJ. > > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-apps-mgmt-apis?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
