SHA256
37 lines
768 B
JSON
37 lines
768 B
JSON
// 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"
|
|
]
|
|
}
|
|
}
|
|
]
|