export_debug_report
Write a self-contained JSON report with journal, metrics, profile, and optional snapshot/coredump tied to a run ID, so STM32 firmware bug sessions are reproducible and shareable.
Instructions
Writes a single self-contained JSON report (journal + metrics + profile, optionally a state snapshot and a coredump) tied to the run-id, so a bug session is fully reproducible and shareable from one artifact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output path for the report JSON. | |
| session | No | Optional debug-session name. Omit for the default target. | |
| coredump_path | No | If set, capture a coredump there and reference it in the report. | |
| include_snapshot | No | Capture and embed a debug snapshot (requires a halted target). |