As a workflow designer, you can debug actions by inserting breakpoints into your script.

vRealize Orchestrator includes a built-in debugging tool that you can use to debug the script and input properties of your action. The debug process can be initiated in the action editor by inserting breakpoints into the script lines of your action.

Note: The built-in debugging tool only works with actions that use the default JavaScript runtime.

Prerequisites

Create an action. See Create Actions in the vRealize Orchestrator Client.

Procedure

  1. Log in to the vRealize Orchestrator Client.
  2. Navigate to Library > Actions, and select the action you want to debug.
  3. In the action editor, add breakpoints to the lines of your action script you want to debug.
  4. Click Debug.
  5. Enter the input parameters of your action, and click Run.
    An action run in debug mode begins.
  6. When the action run is paused after reaching a breakpoint, select one of the following options:
    Option Description
    Continue Resumes the action run until another breakpoint is reached or the action run finishes.
    Step into Step into the current action function. If the debugger cannot go deeper into the current line of the function, it performs a Step over operation.
    Step over The debugger continues into the next line of the current function.
    Step return The debugger goes into the line that will perform when the current function returns.
  7. (Optional) On the Debugger tab, add expressions.
  8. (Optional) On the Debugger tab, edit the value of your variables.