You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document Python (debugpy) debugging in the dbg skill (#13)
Python is already supported via the debugpy DAP adapter, but the skill
docs only listed Node/Bun/Java/native. Add Python to the description,
runtimes table, and core loop, plus a dedicated section covering both
the launch flow (`dbg launch python3 app.py`) and the TCP attach flow
(`python -m debugpy --listen <port>` + `dbg attach <port> --runtime python`).
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .claude/skills/debug-that/SKILL.md
+48-7Lines changed: 48 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,21 @@
2
2
name: dbg
3
3
description: >
4
4
Debug applications using the dbg CLI debugger.
5
-
Supports Node.js (V8/CDP), Bun (WebKit/JSC), and native code via LLDB (DAP).
5
+
Supports Node.js (V8/CDP), Bun (WebKit/JSC), Python (debugpy/DAP), Java (JDWP/DAP), and native code via LLDB (DAP).
6
6
Use when: (1) investigating runtime bugs by stepping through code, (2) inspecting
7
7
variable values at specific execution points, (3) setting breakpoints and conditional
8
8
breakpoints, (4) evaluating expressions in a paused context, (5) hot-patching code
9
9
without restarting (JS/TS), (6) debugging test failures by attaching to a running process,
10
-
(7) debugging C/C++/Rust/Swift with LLDB, (8) any task where understanding runtime
11
-
behavior requires a debugger.
10
+
(7) debugging C/C++/Rust/Swift with LLDB, (8) debugging Python via debugpy,
11
+
(9) any task where understanding runtime behavior requires a debugger.
12
12
Triggers: "debug this", "set a breakpoint", "step through", "inspect variables",
13
13
"why is this value wrong", "trace execution", "attach debugger", "runtime error",
14
14
"segfault", "core dump".
15
15
---
16
16
17
17
# dbg Debugger
18
18
19
-
`dbg` is a CLI debugger that supports **Node.js** (V8/CDP), **Bun** (WebKit/JSC), **Java** (via JDWP/DAP) and **native code** (C/C++/Rust/Swift via LLDB/DAP). It uses short `@refs` for all entities -- use them instead of long IDs.
19
+
`dbg` is a CLI debugger that supports **Node.js** (V8/CDP), **Bun** (WebKit/JSC), **Python** (via debugpy/DAP), **Java** (via JDWP/DAP) and **native code** (C/C++/Rust/Swift via LLDB/DAP). It uses short `@refs` for all entities -- use them instead of long IDs.
The runtime is auto-detected from the launch command for JS runtimes. For native code, use `--runtime lldb`.
32
+
The runtime is auto-detected from the launch command for JS and Python runtimes. For native code, use `--runtime lldb`. Python can also attach to a running `debugpy` listener over TCP (`--runtime python`).
0 commit comments