debug_resume
MCP tools › Debugger
Resume a debug session (continue, next, step_in, step_out on the thread that stopped last; force_next steps over without stopping at breakpoints; step_in_target steps into the call target from debug_step_targets) and wait for the next stop or the end; wait resumes nothing and only waits again, for a program that still ran when the last wait ended. Returns the state as debug_start does plus program output and debug console text received so far. Needs the debug right.
| Capability | debug.debug_resume |
|---|---|
| Area | Debugger |
| Access | changes ide, processes |
| Reaches | — |
| Rights | debug |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
sessionrequired | integer | Session id from debug_start.minimum 0 |
actionrequired | string | continue, next, step_in, step_out, force_next (step over without stopping at
breakpoints), step_in_target (with target) or wait (resume nothing, wait for the
next stop of a program that is still running). |
target | integer | The call to step into for step_in_target, an id from debug_step_targets. |
wait_seconds | integer | Seconds to wait for the next stop or the end (default 30, at most 300).minimum 0 |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project debug_resume '{"session":1,"action":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "session", "action" ], "properties": { "session": { "description": "Session id from `debug_start`.", "type": "integer", "minimum": 0 }, "action": { "description": "`continue`, `next`, `step_in`, `step_out`, `force_next` (step over without stopping at\nbreakpoints), `step_in_target` (with `target`) or `wait` (resume nothing, wait for the\nnext stop of a program that is still running).", "type": "string" }, "target": { "description": "The call to step into for `step_in_target`, an id from `debug_step_targets`.", "type": [ "integer", "null" ] }, "wait_seconds": { "description": "Seconds to wait for the next stop or the end (default 30, at most 300).", "type": [ "integer", "null" ], "minimum": 0 } }}