Skip to content
almogbaku avatar

Debugging Code

Interactive debugger that sets breakpoints, steps line by line, and inspects live state to trace root causes.

CCM score
64 of 100
skills.sh installs
622
GitHub stars
336
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers breakpoints, stepping, variable inspection, expression evaluation, and call-stack navigation for crashes, exceptions, and wrong output
  • Runs through a dap CLI daemon that keeps debugger state across calls, with dap debug, dap eval, dap continue, and dap break commands
  • Supports conditional and invariant breakpoints (for example "app.py:42:i == 100") and --frame tracing to find where a value first went wrong
  • Designed for cases where print-statement debugging is too slow, covering Python, Go, Node.js/TypeScript, Rust, and C/C++ backends

Install

$ npx -y skills add almogbaku/debug-skill --skill debugging-code -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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.

Details

Repository
github.com/almogbaku/debug-skill
Category
Debugging
First seen
Jun 3, 2026

Questions

What does the debugging-code skill do?

The debugging-code skill lets an agent set breakpoints, step through code line by line, inspect live variable state, and evaluate expressions against the running program. It is aimed at crashes, unexpected exceptions and wrong output, where more print statements would not reveal enough.

How do I install the debugging-code skill?

Run npx -y skills add almogbaku/debug-skill --skill debugging-code -y in a project to install it. Once installed, the debugging-code skill drives the dap CLI so the agent can pause a running program and read its state.

Which debugger backends does debugging-code support?

The debugging-code skill uses the dap CLI and supports Python, Go, Node.js and TypeScript, Rust, and C and C++ natively. Any other language that speaks the Debug Adapter Protocol can also be used with it.

Does debugging-code need extra tools before it runs?

Yes, debugging-code needs the dap command-line tool, which runs as a background daemon. It can be installed with Homebrew on macOS, with the installer script, or with go install from the debug-skill GitHub repository.

Similar to Debugging Code

More Debugging