Docs
Sign in

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.

Screenshot to add: The Debug Console with the Quick Execute panel, the sessions list and a console session.

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.

  1. Choose a type: Workflow, Agent or Agent Graph.
  2. Search for and pick a target ("Search Workflows…"). Up to 20 results show.
  3. Enter the starting data as JSON (default {}).
  4. 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

  1. Click New Debug Session

    Screenshot to add: The New Debug Session dialog with the run selector, breakpoints and watch variables.
  2. 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 the attach command.

  3. 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.

  4. 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 — use watch (var)") and Call Stack ("Empty").

Commands

CommandWhat it does
help or ?Lists the commands
statusShows the run's status
varsLists the variables
inspect (key)Shows one variable. Dotted paths work
stackShows the call stack
stepsLists the steps
stepPrints the next step that is pending or running
continueResumes 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
quitCloses 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.

Known gaps