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.
| Capability | debug.debug_pause |
|---|---|
| Area | Debugger |
| Access | changes ide, processes |
| Reaches | — |
| Rights | debug |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
sessionrequired | integer | Session id.minimum 0 |
all | boolean | Pause every thread (SPEC-0091 v12): java-debug suspends them all, also the others while one is stopped. |
wait_seconds | integer | Seconds 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.
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 } }}