2021-08-31 21:21:29 +00:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
2023-08-12 21:30:28 +00:00
|
|
|
"name": "Debug demo - Linux",
|
2021-08-31 21:21:29 +00:00
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2023-07-29 20:50:29 +00:00
|
|
|
"program": "${workspaceFolder}/out/debug/demo",
|
2021-08-31 21:21:29 +00:00
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
2023-07-29 20:50:29 +00:00
|
|
|
"cwd": "${workspaceFolder}/out/debug",
|
2021-08-31 21:21:29 +00:00
|
|
|
"environment": [],
|
|
|
|
"console": "externalTerminal",
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
]
|
2023-07-29 20:50:29 +00:00
|
|
|
"preLaunchTask": "Build project",
|
2023-08-08 21:26:31 +00:00
|
|
|
},
|
|
|
|
{
|
2023-08-12 21:30:28 +00:00
|
|
|
"name": "Debug demo - Windows",
|
2023-08-08 21:26:31 +00:00
|
|
|
"type": "cppvsdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}\\out\\debug\\demo.exe",
|
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}\\out\\debug",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
2023-08-12 21:30:28 +00:00
|
|
|
"preLaunchTask": "Build project",
|
2021-08-31 21:21:29 +00:00
|
|
|
}
|
2023-08-08 21:26:31 +00:00
|
|
|
]
|
2021-08-31 21:21:29 +00:00
|
|
|
}
|