enable_debug
Enable debug mode with granular logging for the MCP server to capture selected categories and log levels in .electron-mcp/logs for troubleshooting.
Instructions
Enable debug mode with granular logging for the MCP server. Logs are stored in .electron-mcp/logs directory within the project.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "enable_debug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Minimum log level to capture | |
| logToFile | No | Enable file logging | |
| categories | No | Log categories to enable | |
| logDirectory | No | Custom log directory path | |
| logToConsole | No | Enable console logging |