-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlaunch.json
32 lines (32 loc) · 1.19 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
// For more information, go to: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "cpp - Generate and debug the current file",
"type": "cppdbg",
"request": "launch",
// This task is executed before the "program" is launched.
// It is defined in tasks.json.
"preLaunchTask": "Generate executable",
// This file is executed when F5 is pressed.
// It's the executable generated and compiled by CMake (during the preLaunchTask).
"program": "${fileDirname}/build/bin/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "pretty-print for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
// Installed when the container was built
"miDebuggerPath": "/usr/bin/gdb"
}
]
}