Debug Adapter Protocol
DevelopmentDebug Adapter Protocol is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Expert skill for implementing Debug Adapter Protocol for debugger integration
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/programming-languages/skills/dap-protocol/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/debug-adapter-protocol, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
- Message Handling: Implement robust JSON message parsing and validation
- Breakpoints: Support line, conditional, and function breakpoints
- Stepping: Implement all stepping modes with correct semantics
- Variables: Implement lazy variable expansion for performance
- Evaluation: Support expression evaluation in stopped state
Output Schema
{
"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" }
}
}
}