Debugging:
*
Break when a function is called
For named (non-anonymous) functions, you can break when the function is executed.
debug(functionName);
The next time functionName function runs, the debugger will stop on its first line.