
Debugging Code
This turns Claude into an interactive debugging assistant that can set breakpoints, step through code, inspect variables, and navigate call stacks across Python, Go, Node.js, Rust, and C/C++. It wraps a CLI tool called dap that speaks the Debug Adapter Protocol, so you get real debugger state instead of guessing with print statements. The skill teaches Claude a disciplined approach: form a hypothesis, set strategic breakpoints at state transitions or boundaries, use conditional breaks to skip noise, and trace causation up the stack frame by frame. It's built for when crashes happen, exceptions fire in unclear places, or output is wrong and you need to see exactly what values exist at the moment things go sideways.
- skills.sh installs
- 592
- GitHub stars
- 336
- last updated
- Jun 3, 2026
Install
$ npx -y skills add almogbaku/debug-skill --skill debugging-code --agent claude-codeInstalls into .claude/skills of the current project.
Files
Interactive Debugger
Use when a program crashes, produces wrong output, or you need to understand exactly how execution reached a particular state — and running it again with more print statements won't give you the answer fast enough.
You can pause a running program at any point, read live variable values and the call stack at that exact moment, step forward line by line or jump to the next breakpoint, and evaluate arbitrary expressions against the live process — all without restarting.
Setup
This skill uses dap, a CLI tool that background daemon to interact with the debugger via the DAP Protocol, maintain
the debugger state, so you can simply interact with it with multiple calls.
If dap isn't installed (check: command -v dap), install it NOW.
Ask/notify the user before proceeding to install it.
From Homebrew (macOS)
brew install AlmogBaku/tap/dap
Installer script:
bash scripts/install-dap.sh
Install from sources:
go install github.com/AlmogBaku/debug-skill/cmd/dap@latest
This tool is open-sourced and available on GitHub, maintained and follows best practices.
Sponsors
Details
- Repository
- github.com/almogbaku/debug-skill
- Category
- Debugging
- First seen
- Jun 3, 2026