Extension to capture debug expression values and display them inline in the code, with per-probe history and timestamps, without requiring manual clicks on "Continue".
What it does
Adds a probe on a line with a custom expression.
Supports templates with multiple expressions using {{...}}.
Captures the value when the line is hit during debugging.
Shows the latest value inline in the editor.
Keeps timestamped history per probe.
Shows full history when hovering over the line.
Separates data by debug run (clears when a new session starts).
Commands
Inline Debug Probe: Toggle Probe on Current Line
Inline Debug Probe: Clear Current Execution Data
Inline Debug Probe: Remove All Probes
Usage
Start debugging as usual.
On a line in your code, run Toggle Probe on Current Line.
Enter the expression or template:
sum
Person name: {{name}}
Wrong: {{age + 2}}
Expiration date: {{Date.now()}}
Continue execution.
See the inline value on that same line.
Hover over the line to see the full timestamped history.
Settings
inlineDebugProbe.historyLimit: history limit per probe in the current execution.
inlineDebugProbe.inlinePrefix: prefix shown before the inline value.
Important technical limitation
VS Code's debug API does not expose a "line executed" trigger without a breakpoint. Because of that, the probe uses a technical breakpoint with automatic continue to simulate a continuous flow. In some debug adapters, there may be a brief internal pause, but no manual intervention is required.