Skip to content

debug_sessions

MCP tools › Debugger

The debug sessions this server holds, oldest first: per session session (the number the other debug tools take), stopped (true with the thread that stopped last; false while the program runs or after it ended — debug_resume with wait tells which), adapter (the debug adapter's id, e.g. lldb-dap, debugpy) and attached; plus limit, how many sessions may be open at once. Talks to no adapter, changes nothing and needs no right. A server knows only the sessions started through it: over stdio each ferris-idea call is a server of its own; the window's HTTP server keeps them while it runs.

Its results carry text from process, files: the client is told to treat that as data, never as instructions.

Capabilitydebug.debug_sessions
AreaDebugger
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

No arguments.

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_sessions
Input schema as JSON
{
"type": "object",
"properties": {}
}