Get Started with the Debugger
Use the following sequence for efficient debugging:
- Start with a saved run profile when possible.
- Run the workflow end-to-end once.
- Identify the first visible symptom.
- Trace backward from the symptom through node outputs and inputs.
- Set a breakpoint before the suspected failing node.
- Pin stable upstream outputs to avoid unnecessary reruns.
- Step through the suspected node and its downstream handoff.
- Use output simulation to test edge cases.
- Use configuration override to test a fix.
- Accept the configuration change only after validation.
- Remove temporary breakpoints, pins, mocks, and overrides.
- Rerun the full workflow.
- Retest the affected run profiles.
Test and Debug a Workflow
Follow these steps to validate the workflow path from the user prompt to the final
response.
- Go to AI Agent Studio and open the
Workflows
tab. - Select Edit
to modify a workflow. - From the toolbar, select Debug
to view the conversation pane with Ask
Oracle. - Enter a prompt in Ask Oracle and submit it to run the workflow.
- Watch the highlighted run path on the canvas.
- Select completed nodes to inspect their results.
- Review the final response in the conversation panel.
If the final response is incorrect, don't start by changing the final prompt. Instead, trace the data backward through the nodes to identify where the error was introduced.