debugger configuration

This commit is contained in:
Manish 2023-03-09 22:07:04 +11:00
parent d14d79e808
commit a4ed56bd67
2 changed files with 33 additions and 0 deletions

17
.vscode/launch.json vendored Normal file
View File

@ -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 Normal file
View File

@ -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"
}
]
}