Start User-Space Debugging
debug_startStart a native Linux GDB/MI debug session on an idle Bash session via an exclusive managed lease, launching an ELF or attaching to an isolated PID.
Instructions
Start native Linux user-space GDB/MI on an idle Bash Session using an exclusive managed lease. ChannelTerm, GDB, gdbserver, and ELF must share one Linux environment. PID omitted launches with isolated I/O; attach rejects controlling terminals, pipes, sockets, or shared character devices. Single inferior, multithreaded, all-stop only. Reuse owner and request_id unchanged to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elf | Yes | Absolute executable ELF path; must match native Linux architecture and attached /proc/PID/exe. | |
| gdb | No | Absolute executable path; defaults to executable found on Host PATH. | |
| pid | No | Existing isolated process PID; omit or zero to launch. Attach never permits terminate. | |
| args | No | Launch arguments; at most 128. No shell expansion. | |
| owner | Yes | Secret random capability, 32..128 characters; retain for retries and all calls. Never publish it in events. | |
| gdbserver | No | Absolute executable path; defaults to executable found on Host PATH. | |
| request_id | Yes | Unique start request ID, 1..128 characters. Conflicting reuse is rejected. | |
| session_id | Yes | Active Session ID or short reference. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes |