SHA256
add debugger config
This commit is contained in:
@@ -0,0 +1,36 @@
|
|||||||
|
// Project-local debug tasks
|
||||||
|
//
|
||||||
|
// For more documentation on how to configure debug tasks,
|
||||||
|
// see: https://zed.dev/docs/debugger
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"label": "Build Main",
|
||||||
|
"adapter": "CodeLLDB",
|
||||||
|
"program": "a.out",
|
||||||
|
"request": "launch",
|
||||||
|
"build": {
|
||||||
|
"command": "g++",
|
||||||
|
"args": ["-std=c++20", "-fopenmp", "./src/main.cpp", "-o3"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build & Debug Main",
|
||||||
|
"adapter": "CodeLLDB",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "$ZED_WORKTREE_ROOT/a.out",
|
||||||
|
"cwd": "$ZED_WORKTREE_ROOT",
|
||||||
|
"stopOnEntry": false,
|
||||||
|
"build": {
|
||||||
|
"command": "g++",
|
||||||
|
"args": [
|
||||||
|
"-std=c++20",
|
||||||
|
"-fopenmp",
|
||||||
|
"-g",
|
||||||
|
"-O0",
|
||||||
|
"./src/main.cpp",
|
||||||
|
"-o",
|
||||||
|
"a.out"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"languages": {
|
||||||
|
"C++": {
|
||||||
|
"tab_size": 4,
|
||||||
|
"format_on_save": "on"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user