Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>DAP InspectorNew to Visual Studio Code? Get it now.
DAP Inspector

DAP Inspector

Babak K. Shandiz

|
1,797 installs
| (1) | Free
A basic VS Code extension to play with Debug Adapter Protocol (DAP)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DAP Inspector

This is a basic VS Code extension to play/try with debug adapters that support Debug Adapter Protocol (DAP). You can see the list of available DAP requests at Debug Adapter Protocol: Specification.

Making DAP requests

To make a request follow these steps:

  1. Start a debugging session and stop the debugger (like at some breakpoint).
  2. Open a new text document (Ctrl+N) and write the request body in it. For example, something like:
    {
        "command": "threads"
    }
    
    or (if the request needs arguments):
    {
        "command": "stackTrace",
        "args": {
            "threadId": 00000 // Replace with the actual thread ID.
        }
    }
    
  3. Run the Send DAP Request command by pressing Ctrl+Shift+P and typing in "Send DAP Request".
  4. If the request was valid (i.e., supported by the debug adapter) you see the response in a new text document:
    // threads
    {
         "threads": [
             {
                 "id": 0,
                 "name": "main.js [76961]"
             }
         ]
    }
    

Features

  • You can just select the request body in the active text editor and run the Send DAP Request command. This will only send the selected text as the request body, and is useful when you want to have multiple requests in a single file/document.

Feedback

Please provide your feedbacks through submitting issues/PRs in the extension's GitHub repository. 🍏

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft