In an open script, click the Debug Script button (or select Edit > Debug Script) to show the script in the JSL Debugger window. You can also use a keyboard shortcut:
Once the JSL Debugger appears, you can continue in this mode, or you can click the Profile JSL Script button to move into the JSL Profiler mode. The JSL Profiler helps with optimization. You can profile your scripts during execution to see how much time is spent executing particular lines or how many times a particular line is executed.
Tip: To debug a script automatically when you open it, include Debug JSL(1) in the Open() statement:
Open( "$SAMPLE_SCRIPTS/scoping.jsl", Debug JSL( 1 ) );

Help created on 7/12/2018