Agent skill · Code Review & Quality

debugging-code

Interactively debug source code — set breakpoints, step through execution line by line, inspect live variable state, evaluate expressions against the running program, and navigate the call stack to trace root causes. Use when a program crashes, raises unexpected exceptions, produces...

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorships scriptsMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill debugging-code --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 4
SKILL.md size: 12 KB
Bundled scripts: yes
Path: skills/debugging-code/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Interactive Debugger ## When to Use Use this skill when you need interactively debug source code — set breakpoints, step through execution line by line, inspect live variable state, evaluate expressions against the running program, and navigate the call stack to trace root causes. Use when a program crashes, raises unexpected exceptions, produces... 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) ```bash brew install AlmogBa

What's inside
Steps it walks through
  1. When to Use
  2. Setup
  3. Starting a Session
  4. The Debugging Mindset
  5. Know Your State
  6. Forming a Hypothesis
  7. Setting Breakpoints Strategically
  8. Managing Breakpoints Mid-Session
  9. Conditional Breakpoints
  10. Invariant Breakpoints
  11. Navigating Execution
  12. Skipping Ahead
  13. Advanced Scenarios
  14. Walkthrough
Ships with 3 files
  • references/advanced-techniques.md
  • references/installing-debuggers.md
  • scripts/install-dap.sh
Commands it runs
brew install AlmogBaku/tap/dap
bash scripts/install-dap.sh
go install github.com/AlmogBaku/debug-skill/cmd/dap@latest
dap continue --break app.py:50              # add breakpoint deeper, then continue
dap continue --remove-break app.py:20       # drop a breakpoint you're done with
dap break add app.py:42 app.py:60           # add multiple breakpoints at once
dap break list                              # see what's set
dap break clear                             # start fresh
dap debug app.py --break "app.py:42:i == 100"            # skip 99 iterations, stop on the one that matters
dap debug app.py --break "app.py:30:user_id == 123"      # reproduce a user-specific bug
More from agentic-awesome-skills
All skills →
About this skill
What does the debugging-code skill do?

Interactively debug source code — set breakpoints, step through execution line by line, inspect live variable state, evaluate expressions against the running program, and navigate the call stack to trace root causes. Use when a program crashes, raises unexpected exceptions, produces...

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill debugging-code --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going