Last active
April 25, 2023 16:10
-
-
Save davidliyutong/f5dfe9dd10d1e205efd598ed5e5c1e4b to your computer and use it in GitHub Desktop.
macos_m1_vscode_lldb.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "clang - 生成和调试活动文件", | |
"type":"cppdbg", | |
"request": "launch", | |
"program": "${fileDirname}/${fileBasenameNoExtension}", | |
"args": [], | |
"stopAtEntry": false, | |
"cwd": "${fileDirname}", | |
"environment": [], | |
"externalConsole": true, | |
"MIMode": "lldb", | |
"preLaunchTask": "C/C++: clang 生成活动文件", | |
"targetArchitecture": "arm64" | |
} | |
] | |
}, | |
{ | |
"tasks": [ | |
{ | |
"type": "cppbuild", | |
"label": "C/C++: clang 生成活动文件", | |
"command": "/usr/bin/clang++", | |
"args": [ | |
"-fdiagnostics-color=always", | |
"-g", | |
"${file}", | |
"-o", | |
"${fileDirname}/${fileBasenameNoExtension}" | |
], | |
"options": { | |
"cwd": "${fileDirname}" | |
}, | |
"problemMatcher": [ | |
"$gcc" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"detail": "调试器生成的任务。" | |
} | |
], | |
"version": "2.0.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put them under
.vscode