Windows support for cpptools

This commit is contained in:
Ben Jackson 2020-06-27 17:28:05 +01:00
commit 6f3884253c
3 changed files with 73 additions and 55 deletions

View file

@ -1,38 +1,12 @@
{
"adapters": {
"cppdbg": {
"name": "cppdbg",
"command": [ "$HOME/.vscode/extensions/ms-vscode.cpptools-0.20.1/debugAdapters/OpenDebugAD7" ],
"attach": {
"pidProperty": "processId",
"pidSelect": "ask"
}
}
},
"configurations": {
"simple_c_program - Launch": {
"adapter": "cppdbg",
"adapter": "vscode-cpptools",
"configuration": {
"name": "ms Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/test",
"args": [],
"cwd": "${workspaceRoot}",
"environment": [],
"MIMode": "lldb",
"stopAtEntry": true
}
},
"simple_c_program - Attach": {
"adapter": "cppdbg",
"configuration": {
"name": "(lldb) Attach",
"type": "cppdbg",
"request": "attach",
"program": "${workspaceRoot}/test",
"MIMode": "lldb"
}
}
}
}