Debug Adapter Protocol
Expert skill for implementing Debug Adapter Protocol for debugger integration
Best use case
Debug Adapter Protocol is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Expert skill for implementing Debug Adapter Protocol for debugger integration
Teams using Debug Adapter Protocol should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/dap-protocol/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Debug Adapter Protocol Compares
| Feature / Agent | Debug Adapter Protocol | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Expert skill for implementing Debug Adapter Protocol for debugger integration
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Debug Adapter Protocol Skill
## Overview
Expert skill for implementing Debug Adapter Protocol for debugger integration.
## Capabilities
- Implement DAP message handling
- Implement breakpoint management (line, conditional, function)
- Implement stepping (step in/out/over, continue)
- Implement stack trace retrieval
- Implement variable inspection and watch expressions
- Implement expression evaluation in debug context
- Handle launch vs attach configurations
- Implement exception breakpoints
- Support multi-threaded debugging
## Target Processes
- debugger-adapter-development.js
- lsp-server-implementation.js
- interpreter-implementation.js
- bytecode-vm-implementation.js
## Dependencies
- DAP specification
- vscode-debugadapter libraries
## Usage Guidelines
1. **Message Handling**: Implement robust JSON message parsing and validation
2. **Breakpoints**: Support line, conditional, and function breakpoints
3. **Stepping**: Implement all stepping modes with correct semantics
4. **Variables**: Implement lazy variable expansion for performance
5. **Evaluation**: Support expression evaluation in stopped state
## Output Schema
```json
{
"type": "object",
"properties": {
"capabilities": {
"type": "array",
"items": { "type": "string" }
},
"breakpointTypes": {
"type": "array",
"items": { "type": "string" }
},
"launchModes": {
"type": "array",
"items": { "type": "string" }
},
"generatedFiles": {
"type": "array",
"items": { "type": "string" }
}
}
}
```Related Skills
Network Protocol Analysis Skill
Network protocol capture, analysis, and fuzzing capabilities
Debugger Integration Skill
Advanced debugging integration for vulnerability research
request-debugger
HTTP request/response debugging and inspection tools
Language Server Protocol
Expert skill for implementing Language Server Protocol servers with full IDE feature support
protocol-parser
Specialized skill for binary and text protocol parsing and serialization. Design and validate protocol message formats, generate parser code from specifications, implement state machine parsing, and handle endianness and byte alignment.
protocol-fuzzer
Expert skill for protocol fuzzing, vulnerability discovery, and security testing
http-protocol
Deep HTTP/1.1, HTTP/2, and HTTP/3 protocol expertise for web protocol implementation and compliance
grpc-protocol
Expert skill for gRPC protocol implementation, debugging, and performance optimization
dns-protocol
Expert skill for DNS protocol implementation, configuration, and service discovery
cuda-debugging
Expert skill for GPU debugging using CUDA-GDB and NVIDIA Compute Sanitizer. Detect memory errors, race conditions, uninitialized memory access, validate atomic operations, analyze kernel synchronization issues, and generate debugging reports with recommendations.
fpga-debugging
On-chip debugging skill with ILA, VIO, and related FPGA debug tools
axi-protocol
Expert skill for AMBA AXI protocol implementation and verification in FPGA designs