Add VS Code debug launch

This commit is contained in:
Aoran Zeng
2025-06-18 22:21:33 +08:00
parent f312dd3b8d
commit 211e98cce1
3 changed files with 52 additions and 0 deletions

17
.vscode/tasks.json vendored
View File

@@ -17,6 +17,23 @@
},
"detail": "使用 just build 编译"
},
{
"type": "shell",
"label": "构建 debug 版 chsrc",
"command": "just",
"args": ["DEBUG=1", "build"],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "使用 just DEBUG=1 build 编译 debug 版"
},
{
"type": "shell",
"label": "测试 chsrc",