restart_debugging
Terminate the active debuggee and relaunch it with the last start configuration, re-applying breakpoints and clearing output for a clean rerun after code changes or crashes.
Instructions
Restart the debuggee: terminate the current program (if still running) and relaunch it with the same configuration as the last start_debugging. All current breakpoints are re-applied automatically. The get_output buffer starts fresh — read from since=0 after a restart. Works while running, paused, or after the program has exited. Not available for attach sessions or sessions never launched. Answers like start_debugging, including "running" with pending:true when the relaunch has not stopped within its readiness window
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |