restart_debugging
Terminates and relaunches the debuggee with its last launch configuration, automatically reapplying breakpoints and starting a fresh output buffer so debugging can continue.
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 the same short hold (then call wait_for_stop)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |