| Language | Extension | Adapter | Setup |
|---|---|---|---|
| Python | .py |
debugpy | pip install debugpy (auto-installed on attach --pid) |
| JavaScript/TypeScript | .js .ts |
@vscode/js-debug | Auto-installed on first use. Override with JS_DEBUG_PATH env var |
| Go | .go |
Delve | go install github.com/go-delve/delve/cmd/dlv@latest |
| Rust/C/C++ | .rs .c .cpp |
CodeLLDB | CODELLDB_PATH env var |
Use --runtime to target a specific venv:
dapi start app.py --break app.py:10 --runtime /path/to/venv/bin/pythonattach --pid auto-installs debugpy into the target process — no manual setup needed. Requires lldb (macOS) or gdb (Linux).
js-debug is auto-provisioned on first use — downloaded from GitHub releases to ~/.dapi/js-debug/. Also auto-detected from ~/.vscode/extensions/ if present. Override with:
export JS_DEBUG_PATH=/path/to/ms-vscode.js-debug-x.x.xInstall Delve:
go install github.com/go-delve/delve/cmd/dlv@latestSet the CodeLLDB path:
export CODELLDB_PATH=/path/to/codelldb/adapter/codelldb