Debug Console
The Debug Console is a text-based tool for looking inside a run. You attach it to a run, then type commands to see its status, variables and steps.
Open the Debug Console
Click Debug Console under Runs and Debug (/runs/debug), or the button on the Executions page. The page is titled Debug Console: "Interactive debugger for run inspection — set breakpoints, inspect variables, step through execution".
Header buttons: Graph step-debug (to Graph Studio), Run diff, Replay, Checkpoints and New Debug Session.
Quick Execute
A panel at the top lets you run something without leaving the page.
- Choose a type: Workflow, Agent or Agent Graph.
- Search for and pick a target ("Search Workflows…"). Up to 20 results show.
- Enter the starting data as JSON (default
{}). - Click Run Workflow (or Run Agent, Run Agent Graph; "Running…").
The Result appears below as raw JSON. Errors read "Select a target first", "Invalid JSON input" or "Execution failed".
Start a debug session
Click New Debug Session
Screenshot placeholderScreenshot to add: The New Debug Session dialog with the run selector, breakpoints and watch variables. Attach to a run
Under Attach to Run (workflow · agent · graph) choose one of your last 100 runs. Each reads
name [type] — status (id). With none you see "No recent runs". You can attach to a different run later with theattachcommand.Add breakpoints and watches (optional)
Type a step ID under Breakpoints or a variable under Watch Variables and press Enter. They appear as chips you can remove.
Start
Click Start Session.
The session screen
- The sessions list on the left refreshes every 5 seconds. Each session shows Active or Closed, the workflow name, the run ID and "N bp · M vars". Click the X to close one. With none: "No active sessions" and a Start one button. With none selected: "No session selected".
- The info bar shows the run's status, "Paused at (breakpoint)" if relevant, and the counts of breakpoints and watches.
- The Console shows what you typed and the replies. Its box says "Type command (help for list)…" (or "Session closed"). Use ↑ and ↓ for history and Enter to run.
- Side panels: Breakpoints ("None set — use
break (step_id)"), Watch ("None — usewatch (var)") and Call Stack ("Empty").
Commands
| Command | What it does |
|---|---|
help or ? | Lists the commands |
status | Shows the run's status |
vars | Lists the variables |
inspect (key) | Shows one variable. Dotted paths work |
stack | Shows the call stack |
steps | Lists the steps |
step | Prints the next step that is pending or running |
continue | Resumes a run that is already paused, for example one waiting for approval. You must be the run's owner or an administrator |
break (step_id) | Records a breakpoint |
watch (var) | Records a watch |
attach (run_id) | Switches to another run you can see |
quit | Closes the session |
An unknown command replies "Unknown command: '(cmd)' (type 'help' for a list of commands)".
A run you cannot see returns "Run '(id)' not found". A session closes by itself when its run completes, fails or is cancelled.
Run diff
Run diff (/runs/diff) compares two runs. Enter Run A and Run B (placeholder "run-id…"). It shows Input diff, Output diff and Trace diff, or "No differences."
The real step debugger
Graph Studio and the agents list link to a separate debug page at /runs/debug/graph/(id) or /runs/debug/agent/(id). That page offers Step, Resume, Edit state, Branch, Finish + persist Run and a snapshot scrubber. Without a target it says "Open from a Graph or Agent — or visit a session URL directly." with Browse Graphs. See Graph Studio.