Debug Adapter Protocol

Expert skill for implementing Debug Adapter Protocol for debugger integration

509 stars

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

$curl -o ~/.claude/skills/dap-protocol/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/programming-languages/skills/dap-protocol/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/dap-protocol/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Debug Adapter Protocol Compares

Feature / AgentDebug Adapter ProtocolStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/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

509
from a5c-ai/babysitter

Network protocol capture, analysis, and fuzzing capabilities

Debugger Integration Skill

509
from a5c-ai/babysitter

Advanced debugging integration for vulnerability research

request-debugger

509
from a5c-ai/babysitter

HTTP request/response debugging and inspection tools

Language Server Protocol

509
from a5c-ai/babysitter

Expert skill for implementing Language Server Protocol servers with full IDE feature support

protocol-parser

509
from a5c-ai/babysitter

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

509
from a5c-ai/babysitter

Expert skill for protocol fuzzing, vulnerability discovery, and security testing

http-protocol

509
from a5c-ai/babysitter

Deep HTTP/1.1, HTTP/2, and HTTP/3 protocol expertise for web protocol implementation and compliance

grpc-protocol

509
from a5c-ai/babysitter

Expert skill for gRPC protocol implementation, debugging, and performance optimization

dns-protocol

509
from a5c-ai/babysitter

Expert skill for DNS protocol implementation, configuration, and service discovery

cuda-debugging

509
from a5c-ai/babysitter

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

509
from a5c-ai/babysitter

On-chip debugging skill with ILA, VIO, and related FPGA debug tools

axi-protocol

509
from a5c-ai/babysitter

Expert skill for AMBA AXI protocol implementation and verification in FPGA designs