mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-14 17:59:54 +01:00
Add debug configurations for VSCode
This commit is contained in:
parent
a3a6456586
commit
6febaeda1a
37
.vscode/launch.json
vendored
Normal file
37
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
// 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": [
|
||||
{
|
||||
"type": "cppdbg",
|
||||
"preLaunchTask": "build",
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/build/unittest",
|
||||
"name": "unittest (C/C++ extension)",
|
||||
"cwd": "${workspaceRoot}/build",
|
||||
"setupCommands": [
|
||||
{
|
||||
"text": "-enable-pretty-printing",
|
||||
"description": "enable pretty printing",
|
||||
"ignoreFailures": true
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "lldb-mi",
|
||||
"request": "launch",
|
||||
"name": "unittest (CodeLLDB extension)",
|
||||
"target": "./build/unittest",
|
||||
"cwd": "${workspaceRoot}"
|
||||
},
|
||||
{
|
||||
"name": "unittest (Native Debug extension)",
|
||||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"target": "./build/unittest",
|
||||
"cwd": "${workspaceRoot}"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user