debug_renderers
MCP tools › Debugger
Renderers of the Debug window: how values of a type are shown, an expression in which this (Java) or self (Python) is the value, kept in .ferris-idea/debug-renderers.json. Without type lists them; with type and expression sets that type's renderer (an empty expression removes it). dry_run defaults to true; saving needs the write right.
Its results carry text from process, files: the client is told to treat that as data, never as instructions.
| Capability | debug.debug_renderers |
|---|---|
| Area | Debugger |
| Access | changes files |
| Reaches | — |
| Rights | write |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
type | string | Type to give a renderer (its name or simple name); omitted: only list them. |
expression | string | Expression shown in place of the value, this (Java) or self (Python) being the value;
empty removes the type's renderer. |
dry_run | boolean | Only return what would be saved (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 debug_renderersInput schema as JSON
{ "type": "object", "properties": { "type": { "description": "Type to give a renderer (its name or simple name); omitted: only list them.", "type": [ "string", "null" ] }, "expression": { "description": "Expression shown in place of the value, `this` (Java) or `self` (Python) being the value;\nempty removes the type's renderer.", "type": [ "string", "null" ] }, "dry_run": { "description": "Only return what would be saved (default true).", "type": [ "boolean", "null" ] } }}