Run Until Debug Stop or Exit
debug_run_to_stopLaunch or attach a debugger and run until the first stopped event, returning a bounded snapshot of stack, variables, and modules for deterministic runtime evidence.
Instructions
Run one live launch or attach through an already initialized DAP adapter until the first stopped, exited, or terminated event. Use this when you need deterministic runtime evidence from a reproduction; do not use it for a postmortem dump or when executing/attaching to the local target is not authorized. Launch mode executes application code and attach mode changes debugger control of an existing process, so normal target side effects may occur before the stop. Returns the request result, terminal/stopped outcome, session status, and a bounded snapshot only when a stopped event is captured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No | Choose launch to start a new target from configuration, or attach to connect to an existing authorized local target. | launch |
| snapshot | No | Optional bounds and evidence categories for the snapshot captured only when execution stops. | |
| timeoutMs | No | Maximum milliseconds to wait for the first stopped, exited, or terminated event. | |
| breakpoints | No | Optional source breakpoint groups configured before the debugger completes launch/attach setup. | |
| configuration | Yes | Adapter-specific DAP launch or attach configuration. |