Interactive debugging via DAP-MCP for multiple languages with natural language commands
View on GitHub.claude/skills/dynamic-debugger/SKILL.md
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/rysweet/amplihack/blob/main/.claude/skills/dynamic-debugger/SKILL.md -a claude-code --skill dynamic-debuggerInstallation paths:
.claude/skills/dynamic-debugger/# Dynamic Debugger Skill
Interactive debugging capability fer Claude Code via DAP-MCP integration. Debug yer code in natural language without leavin' the conversation.
## Overview
This skill enables interactive debuggin' through the Debug Adapter Protocol (DAP) via MCP server integration. Set breakpoints, step through code, inspect variables, and control execution flow across multiple programming languages using natural language commands.
**What ye get:**
- Natural language debugging commands ("set breakpoint at line 42")
- **Current support:** Python (debugpy), C/C++/Rust (lldb)
- **Planned support:** JavaScript/TypeScript, Go, Java, .NET (see configs/future/)
- Automatic intent and language detection
- Session management with resource limits
- Graceful error handling and recovery
## Activation (Opt-In)
**This skill is DISABLED by default** (`disableModelInvocation: true`).
**To enable:**
1. **Explicit invocation** (recommended):
```
"Use the dynamic-debugger skill to debug this function"
```
2. **Auto-activation** (edit SKILL.md frontmatter):
```yaml
disableModelInvocation: false # or remove this line
```
**Why opt-in?**
- Requires external dap-mcp server installation
- Starts debugger processes (resource intensive)
- Full filesystem access needed
- Best enabled only when actively debugging
## Prerequisites
**Required:**
- dap-mcp server installed (`pip install dap-mcp` or `uv pip install dap-mcp`)
- Language-specific debuggers (current support):
- Python: debugpy (`pip install debugpy`)
- C/C++/Rust: lldb-dap (install lldb with DAP support)
**Verification:**
```bash
# Check dap-mcp installation
python3 -m dap_mcp --help
# Check language debuggers
python -c "import debugpy; print('debugpy ready')"
which gdb
dlv version
```
## Quick Start
### Scenario 1: Python Async Bug
**User:** "This async function isn't awaiting properly. Debug it."
**Skill activates automatically:**
1. Detects debugging intent (high confidence)
2.