Debug
Every Debug command in CodeFizz Editor Agent, with parameters and examples.
Every Debug command in CodeFizz Editor Agent, with parameters and examples.
2 commands. Each shows its parameters and an example, and has a copyable deep link, so you (or an AI agent) can jump straight to one.
set_mcp_debugEnable or disable MCP debug mode (token tracking)
Toggles MCP debug mode which enables token usage tracking on every MCP command. When enabled, the bridge measures the approximate token size of each request and response, accumulates totals per command, and tracks call counts. Use get_mcp_token_stats to read the accumulated statistics. Useful for identifying which commands produce oversized responses that waste LLM context budget.
| Parameter | Type | Required | Description |
|---|---|---|---|
| enabled | bool | No | Enable debug mode |
cfa set_mcp_debug --enabled
cfa set_mcp_debug --enabled=falseget_mcp_token_statsGet MCP token usage statistics
Returns accumulated token usage statistics from the MCP bridge. Shows per-command call counts, total input/output tokens, and averages. Only collects data when debug mode is enabled via set_mcp_debug. Use this to audit which MCP commands consume the most tokens and optimize your workflow accordingly.
cfa get_mcp_token_stats