Skip to content

debug_pause

MCP tools › Debugger

Pause a running debug session's program (after debug_resume returned while it still ran) and return where it stopped, like debug_resume. Needs the debug right.

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

Arguments

ArgumentTypeDescription
sessionrequiredintegerSession id.minimum 0
allbooleanPause every thread (SPEC-0091 v12): java-debug suspends them all, also the others while one is stopped.
wait_secondsintegerSeconds to wait for the stop (default 10, 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_pause '{"session":1}'
Input schema as JSON
{
"type": "object",
"required": [
"session"
],
"properties": {
"session": {
"description": "Session id.",
"type": "integer",
"minimum": 0
},
"all": {
"description": "Pause every thread (SPEC-0091 v12): java-debug suspends them all, also the others\nwhile one is stopped.",
"type": [
"boolean",
"null"
]
},
"wait_seconds": {
"description": "Seconds to wait for the stop (default 10, at most 300).",
"type": [
"integer",
"null"
],
"minimum": 0
}
}
}