dbgflow serve <path> starts the embedded HTTP server and loads a previously captured session into the browser UI. You can point it at a single JSON file or a directory — when given a directory, it merges all JSON files it finds into one session with multiple pipelines.
What it does
The command reads the session JSON at the path you provide, starts an HTTP server, and opens the UI in your browser. The UI lets you step through execution events, inspect function inputs and outputs, view value snapshots, and navigate the call graph. When you pass a directory, dbgflow discovers every.json file inside it, reads each one, and merges them into a single session. Each original file becomes a separate pipeline, selectable from the Pipeline Selector in the bottom control bar.
Arguments
Path to a session JSON file, or a directory containing session JSON files. This is a positional argument — no flag name required.
Flags
Usage examples
Serve a single session file:Directory serving
When you pass a directory, dbgflow reads every.json file it contains and merges them into one session. Each file maps to a pipeline in the UI.
state_flow, process_data, and integration_test without reloading.
Only files with a
.json extension are included. Subdirectories and other file types are ignored.