Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.24 KB

File metadata and controls

42 lines (28 loc) · 1.24 KB

Supported Languages

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

Python

Use --runtime to target a specific venv:

dapi start app.py --break app.py:10 --runtime /path/to/venv/bin/python

attach --pid auto-installs debugpy into the target process — no manual setup needed. Requires lldb (macOS) or gdb (Linux).

JavaScript/TypeScript

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.x

Go

Install Delve:

go install github.com/go-delve/delve/cmd/dlv@latest

Rust/C/C++

Set the CodeLLDB path:

export CODELLDB_PATH=/path/to/codelldb/adapter/codelldb