Set breakpoints, conditional breakpoints, skip tasks, and input and output overrides in the playbook debugger.
The debugger provides a test environment where you can make changes to data and playbook logic and view the results in real-time to test and troubleshoot playbooks. You can see exactly what is written to the context at each step and which indicators are extracted.
To open a detached system playbook, a copy of a system playbook, or a custom playbook in the debugger, select the playbook and click Edit.
To open an attached playbook in the debugger, select the playbook and click View to access the debugger. While editing a playbook, sub-playbooks can be opened directly in the debugger by choosing Open sub-playbook in the task pane.
In some cases, you may have a playbook that includes two or more copies of the same sub-playbook. When you set breakpoints, override inputs or outputs, or skip tasks in sub-playbook A, the same changes apply to the identical sub-playbook B. In addition, if you set a breakpoint, override inputs or outputs, or skip tasks within a loop in a playbook, that setting will be applied every time the loop executes.
Note
The debugger runs with the permissions of the logged-in user. The user must have permissions for both playbooks and investigations (View/Edit) to run the debugger.
Running the debugger involves the following actions.