Debug a script or condition

Scripts and conditions that do not need a context for execution

In debug mode, you can run scripts and conditions that do not use any specific context. To debug a script or a condition, complete the following steps:

  1. Open the script or condition.
  2. In the Object Inspector pane, set the Context property to the value None.
  3. On the Script Note Editor Tools tab, in the Control section, click Execute in Debug Mode .

    The script appears in a new debug mode window.

  4. Run the script using the buttons on the Debugger Tools tab.

Scripts and conditions that need a context for execution

In debug mode, you cannot run scripts and conditions that use a specific context. Instead, run these scripts and conditions in the corresponding context. To debug a script or a condition, follow these steps:

  1. In the Navigator pane, right-click the script or condition and click Add to Debug Service.
  2. Open the document or the process that uses the script and start the document creation or process.

    Once the script is executed, the debugger window opens.

  3. Run the script using the buttons on the Debugger Tools tab.

To disable execution in the debug mode for a script or condition, in the Navigator pane, right-click the script or condition and click Remove from Debug Service.