Configuration reference¶
This section is the precise, lookup-style reference for everything you can put in
a dbgeng debug configuration in launch.json.
- launch attributes - options for
"request": "launch"(start a program). - attach attributes - options for
"request": "attach"(connect to a process, remote target, or kernel). - Supported features - which debugging features the adapter supports (breakpoints, stepping, evaluation, …) and which it does not.
Common shape of a configuration¶
Every configuration is an object inside the configurations array of
.vscode/launch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "A human-readable name shown in the dropdown",
"type": "dbgeng",
"request": "launch",
"...": "scenario-specific options"
}
]
}
| Field | Meaning |
|---|---|
name |
The label shown in the Run and Debug dropdown. |
type |
Always dbgeng for this adapter. |
request |
launch or attach. Determines which option set applies. |
A note on paths and variables¶
- Escape backslashes in JSON (
C:\\path) or use forward slashes (C:/path). - You can use VS Code
variables such
as
${workspaceFolder}and${input:...}in string values. The adapter's own defaults are written in terms of the workspace root.