Skip to main content

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:
Options: Example:

debug lsp

Direct LSP probes for code intelligence:
Subcommands: Options: Examples:

debug acp

Direct ACP probes for action orchestration:
Subcommands: Options: Examples:

debug trace

Trace recording and replay:
Subcommands: 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_KEY or 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:
ACP in read-only mode: