End User-Space Debugging
debug_stopEnds a terminal debugging session, detaches by default or terminates launched processes, restores terminal modes, and confirms shell recovery after protocol completion.
Instructions
End debugging, detach by default, wait for protocol completion, restore original terminal modes and confirm the shell with a unique harmless probe. terminate is allowed only for launched processes. Recovery failure closes the Session and returns an error. Safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Secret random capability, 32..128 characters; retain for retries and all calls. Never publish it in events. | |
| debug_id | Yes | Opaque debug_id returned by debug_start. | |
| terminate | No | Default false detaches and leaves the inferior alive; true kills only a launched inferior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes |