Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>CDB DebuggerNew to Visual Studio Code? Get it now.

CDB Debugger

Microsoft DevLabs

|
3,516 installs
| (2) | Free
Debugger based on CDB/WinDbg
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Experimental CDB Debugger for VS Code

This is an experimental VS Code integration using the CDB debugger included with Debugging Tools for Windows. This is intended to be used for easy debugging of Open Enclave applications on Windows using the directions found in the Open Enclave documentation. Debugging outside of Open Enclave scenarios may work in some cases but is unsupported.

Features

  • Launching and attaching to a process
  • Stack, locals, and watch windows
  • Command-line access to other debugger commands

Configuration

You can configure your process to be debugged on launch or attach to an existing process.

Launch Configuration

The launch configuration is used to launch a process under the debugger.

Launch Attributes

Attribute Type Description Default Value
program string The path to the program.
debugthedebugger boolean Attach to the debug adapter after it has launched. false
intialbreak boolean Determines whether the debugger will break into the target immediately. true
sourcepath string Search path to use for finding source files.
workingdirectory string Starting directory for the program being launched.
args string Command line arguments to be passed to the debug target.
initialcommands string Debugger commands to run after the target is being debugged.

Attach Configuration

The attach configuration is used to attach to an already running process.

Attach Attributes

Attribute Type Description Default Value
pid number The ID of the process to attach to.
debugthedebugger boolean Attach to the debug adapter after it has launched. false
intialbreak boolean Determines whether the debugger will break into the target immediately. true
sourcepath string Search path to use for finding source files.
initialcommands string Debugger commands to run after the target is being debugged.
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2019 Microsoft