Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/Runtime & data

Debug safely and inspect accepted runs

Use fixtures, node-boundary stepping, exact snapshots and live trigger observation without accidental replay.

23 Oct 2026 · 3 min read
Markdown ↗

ONF's debugger pauses at node boundaries. It is not an instruction-level JavaScript debugger and does not make real code safe from external effects. Start with synthetic input and fixtures, then permit real execution deliberately.

Safe fixture mode#

A manual Start debug accepts a saved graph and its exact pins, captures a run snapshot and initially pauses before execution. Safe fixture mode is on by default: unconfigured code stops before it runs. A fixture bypasses the node body and its executor while retaining normal output and route validation.

json
{
  "node_example_request": {
    "outputs":{"status":200,"body":{"id":"synthetic-123"}},
    "routes":["next"]
  }
}

Fixture keys are executable graph node IDs; output keys are the actual pinned socket IDs. A chosen control route does not supply missing data. Supplying a fixture map replaces the old map. Subflow instances/adapters cannot stand in for the entire nested graph: inspect the expanded snapshot and fixture its internal nodes.

Built-in waits without fixtures perform their real durable behavior and may create Inbox tasks. Collections/Repeat require complete output fixtures or deliberate real execution. A real container step executes its bounded body normally.

Step, continue and pause#

Step executes one ready node and pauses again. Continue runs until a breakpoint, absent fixture, wait, completion or failure. Pause takes effect at the next node boundary after an active attempt finishes. Configure updates breakpoints or fixtures while paused using the debugger revision.

Completed nodes and selected routes remain in the encrypted continuation and are not repeated by Step/Continue. A stale control conflicts. Finished/cancelled sessions cannot be restarted by a debugger command; starting another session creates another execution.

Paused sessions retain their exact continuation across restart. A crash while code is actively performing an action leaves an interrupted/uncertain outcome, not an automatic safe retry.

Observe live entries#

Opening Debug follows newly accepted automatic runs for the selected entry without duplicating or pausing them. Choose the exact trigger on a multi-root canvas. Observation attaches the original run for snapshot, result, log and debug-wire inspection.

Pause next event is an explicit one-shot listener for that saved revision and enabled entry. Its normal expiry is five minutes. The next accepted matching event becomes the same paused run, rather than being replayed as another job. Later events continue normally.

Stop listening disarms the pending listener; host restart also clears pending listeners. Revision changes invalidate a stale listener. Existing webhook authentication and graph/queue admission still happen before capture.

Diagnose timing#

The evaluator's performance view separates initial run queue, worker admission delay, connection preparation, worker occupancy and attempt runtime. JavaScript/TypeScript fetch instrumentation records counts and elapsed time to response headers without URLs or payloads. Concurrent durations overlap; it is not a CPU or critical-path profiler.

Inspect errors and storage transitions alongside node status. Closing the panel or clearing local highlights does not cancel server execution. After an uncertain action, read the retained run and external state before deliberately running again.

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • docs/DEBUGGING-AND-WAITS.md
  • docs/WORKFLOWS.md
  • docs/AUTHORING-RELEASE-2026-10-21.md
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗