Add vscode configuration

This commit is contained in:
Corentin Jabot 2021-09-17 15:09:44 +02:00
parent d30a831f55
commit 6e29a1e960
2 changed files with 32 additions and 1 deletions

4
.gitignore vendored
View file

@ -1 +1,3 @@
vcpkg/*
vcpkg/
CMakeLists.txt.user
build

29
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,29 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "cppdbg",
"request": "launch",
"program": "${command:cmake.launchTargetPath}",
"args": [],
"stopAtEntry": true,
"cwd": "${command:cmake.launchTargetDirectory}",
"environment": [
{
"name": "PATH",
"value": "$PATH:${command:cmake.launchTargetDirectory}"
}
],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}