dbgflow demo generates a built-in sample session and writes it to a JSON file. It is the fastest way to explore the browser UI and understand what a captured execution looks like before you instrument your own code.
What it does
Runningdbgflow demo executes a pre-built demo pipeline and serializes the resulting session to disk. The session contains function nodes, data nodes, edges, and a sequence of execution events that you can step through in the UI.
With --serve, the command also starts the embedded HTTP server and opens the UI at http://127.0.0.1:<port> after the file is written.
Flags
Start the browser UI after the session file is generated. Opens
http://127.0.0.1:<port> automatically.Usage examples
Generate the demo session to the default output path:Next steps
Once you have seen the demo, instrument your own code with#[trace], #[ui_debug], and #[dbg_test], then use dbgflow test to capture real sessions from your project.