The debugger stop statement opens the Script Debugger window and causes the current script to stop processing at that point, as if a breakpoint had been encountered.
debugger stop
• None
The debugger stop statement is useful for debugging code that is cumbersome to access. Because the statement is compiled directly into the code, it isn’t necessary to set a breakpoint each time the script is run.
When used with the runtime engine, the debugger stop statement will stop only when the ScriptDebugger=TRUE setting has been added to the Dex.ini file.