debugger configuration

main
Manish 1 year ago
parent d14d79e808
commit a4ed56bd67

@ -0,0 +1,17 @@
{
// 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": "lldb",
"request": "launch",
"name": "Debug",
"program": "${workspaceFolder}/build/${fileBasenameNoExtension}",
"args": [],
"cwd": "${workspaceFolder}",
"preLaunchTask": "build"
}
]
}

16
.vscode/tasks.json vendored

@ -0,0 +1,16 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "cmake",
"type": "shell",
"args": ["--build", "./build", "--target", "${fileBasenameNoExtension}"],
"problemMatcher": ["$tsc"],
"presentation": {
"reveal": "always"
},
"group": "build"
}
]
}
Loading…
Cancel
Save