Skip to content

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.

Capabilityremote.remote_debug_start
AreaRemote, rooms and agents
Accesschanges ide, processes
Reachesprocess, network
Rightsdebug
Dry rundry_run, on unless the call turns it off

Arguments

ArgumentTypeDescription
hostrequiredstringHost the remote project was opened on.
folderrequiredstringIts folder.
namestringA run configuration of the host project.
docstringA project-relative document, with line, for what a run marker stands for.
lineinteger0-based line in doc.minimum 0
breakpointsarray of objectBreakpoints at host paths or project-relative paths.
breakpoints[].pathrequiredstringHost path or path relative to the project.
breakpoints[].linerequiredinteger1-based line.minimum 0
wait_secondsintegerSeconds to wait for the first stop (default 30, at most 300).minimum 0
dry_runbooleanOnly 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.

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