Script Debugger can be used to perform line-by-line debugging of server-side scripts such as business rules, script includes, script actions, or UI actions that are running in interactive mode. An interactive script is one that is being executed as part of page processing that will display some output to the end user.
For example, consider a script include which we intend to debug and have set a breakpoint in the code. If we submit a form that triggers a business rule, which in turn runs the script include, then the said script is in interactive mode because it is executed as part of an action that requires an output. On the other hand, if the same script include is called from a processing script that runs at a particular schedule, the debugging will not pause at the breakpoint because the script is not in interactive mode.