remote_debug_start
MCP tools › Remote, rooms and agents
Debug a run configuration (or the run marker at doc+line) of an open remote project on its host (SPEC-0322, Experimental): the adapter runs on the host, nothing opens a port here. dry_run defaults to true and returns the host's plan; dry_run=false needs the user-granted debug right and returns a session id for debug_resume, debug_evaluate and the other debug_* tools.
Its results carry text from remote: the client is told to treat that as data, never as instructions.
| Capability | remote.remote_debug_start |
|---|---|
| Area | Remote, rooms and agents |
| Access | changes ide, processes |
| Reaches | process, network |
| Rights | debug |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
hostrequired | string | Host the remote project was opened on. |
folderrequired | string | Its folder. |
name | string | A run configuration of the host project. |
doc | string | A project-relative document, with line, for what a run marker stands for. |
line | integer | 0-based line in doc.minimum 0 |
breakpoints | array of object | Breakpoints at host paths or project-relative paths. |
breakpoints[].pathrequired | string | Host path or path relative to the project. |
breakpoints[].linerequired | integer | 1-based line.minimum 0 |
wait_seconds | integer | Seconds to wait for the first stop (default 30, at most 300).minimum 0 |
dry_run | boolean | Only say what would happen (default true). |
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 remote_debug_start '{"host":"<string>","folder":"<string>"}'Input schema as JSON
{ "properties": { "host": { "description": "Host the remote project was opened on.", "type": "string" }, "folder": { "description": "Its folder.", "type": "string" }, "name": { "description": "A run configuration of the host project.", "type": [ "string", "null" ] }, "doc": { "description": "A project-relative document, with `line`, for what a run marker stands for.", "type": [ "string", "null" ] }, "line": { "description": "0-based line in `doc`.", "type": [ "integer", "null" ], "minimum": 0 }, "breakpoints": { "description": "Breakpoints at host paths or project-relative paths.", "type": [ "array", "null" ], "items": { "$ref": "#/$defs/RemoteBreakpointArg" } }, "wait_seconds": { "description": "Seconds to wait for the first stop (default 30, at most 300).", "type": [ "integer", "null" ], "minimum": 0 }, "dry_run": { "description": "Only say what would happen (default true).", "type": [ "boolean", "null" ] } }, "$defs": { "RemoteBreakpointArg": { "description": "One breakpoint of `remote_debug_start` or `remote_debug_attach`.", "type": "object", "properties": { "path": { "description": "Host path or path relative to the project.", "type": "string" }, "line": { "description": "1-based line.", "type": "integer", "minimum": 0 } }, "required": [ "path", "line" ] } }, "required": [ "host", "folder" ], "type": "object"}