Question: I've followed the Google app script tutorial [here](http://www.youtube.com/user/GoogleDocsCommunity#p/c/0/5VmEPo6Rkq4) which is a very simple script with two functions. `showDialog` (which presents a dialog box with a text field and submit button ) and `respondToSubmit(e)` which handles the submit button and adds the entered data to the spreadsheet.
It works fine.

What doesn't seem to work is the debugger on the callback. So I place a breakpoint in both functons and start the `showDialog` function. The debugger kicks in and stops execution at the breakpoint. I click continue so I can interact with the newly opened dialog box. However when I click the submit button the debugger does not start again. The `respondtoSubmit(e)` function is executed. The debugger just does not stop on the breakpoint(s).

Is there a problem with debugging callbacks like this or can you only debug one function at a time?

Answer: 
For reference Utilities.jsonStringify(e) is depricated, use JSON.stringify() and JSON.parse() instead.
It seems to me that the Logger does not work either, unless run from the script editor. I did manage `Browser.msgbox(Utilities.jsonStringify(e))` which had brought the (expected) result:

`{"parameter":{"clientY":"45","clientX":"37","eventType":"click","ctrl":"false","meta":"false","source":"u12053277590","button":"1","alt":"false","myTextBox":"babi","screenY":"381","screenX":"598","shift":"false","y":"13","x":"33"}}`