Overview
The Debug CLI provides commands for testing and debugging the interactive coding assistant features without entering interactive mode. This is useful for CI/CD pipelines, automated testing, and troubleshooting.Commands
debug interactive
Run a single interactive turn non-interactively:
Example:
debug lsp
Direct LSP probes for code intelligence:
Options:
Examples:
debug acp
Direct ACP probes for action orchestration:
Options:
Examples:
debug trace
Trace recording and replay:
Examples:
JSON Output Format
When using--json, the output follows this structure:
Use Cases
CI/CD Testing
Troubleshooting
Performance Analysis
Operational Notes
Prerequisites
OPENAI_API_KEYor other LLM API key must be set- For LSP: language server must be installed (e.g.,
pylsp) - For ACP: workspace must be writable
Exit Codes
Troubleshooting
LSP not starting:Related
- Agent-Centric Tools - Tools powered by LSP/ACP
- Interactive Runtime - Runtime configuration
- Doctor - Health checks including LSP/ACP

