session_id. Create a session first, then load a binary or attach to a running process.
Session lifecycle
create_debug_sessioncreates or returns a session.list_debug_sessionslists active sessions.close_debug_sessionshuts down a session and any attachedpwnclidriver.get_session_inforeturns session state plus cached debugger state without issuing new GDB commands.
Load or attach
set_fileloads an executable into GDB.attachattaches to an existing PID and returns both the attach result and quick context snapshots.
Breakpoints and raw commands
set_breakpointaccepts a symbol, address, orfile:lineplus an optional condition.executeruns raw GDB or pwndbg commands when you need something lower level.
Execution control
runstarts the inferior and acceptsargsandstart.step_controlsupportsc,n,s,ni, andsi.gdb_polldrains pending async notifications.gdb_interruptinterrupts the inferior and waits for stop events.finish,jump,return_from_function, anduntilwrap common MI execution helpers.
Path guidance
Use container-visible paths under/workspace when setting files. Relative paths are resolved under /workspace by the server.