Skip to content

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.

Capabilitydebug.debug_resume
AreaDebugger
Accesschanges ide, processes
Reaches—
Rightsdebug
Dry runnone

Arguments

ArgumentTypeDescription
sessionrequiredintegerSession id from debug_start.minimum 0
actionrequiredstringcontinue, 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).
targetintegerThe call to step into for step_in_target, an id from debug_step_targets.
wait_secondsintegerSeconds 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.

Terminal window
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
}
}
}