Created
March 12, 2019 12:55
-
-
Save torumakabe/f7c0bdc690314964ddc071ccae1f39e8 to your computer and use it in GitHub Desktop.
VS Code C Debugger Configuration (macOS)
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
// task.json | |
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Debug Build", | |
"type": "shell", | |
"command": "clang", | |
"args": [ | |
"-g", | |
"-O0", | |
"${workspaceFolder}/a.c", | |
"-o${workspaceFolder}/a.out" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"problemMatcher": "$gcc" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment