Created
February 28, 2025 04:31
-
-
Save cho0h5/6eba78c4ab6ea5973691dee51b2eed50 to your computer and use it in GitHub Desktop.
VSCode Debug Setting in MacOS
This file contains hidden or 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": "My Debug", | |
"type": "cppdbg", | |
"request": "launch", | |
"program": "${workspaceFolder}/a.out", | |
"args": [], | |
"stopAtEntry": false, | |
"cwd": "${workspaceFolder}", | |
"environment": [], | |
"externalConsole": false, | |
"internalConsoleOptions": "openOnSessionStart", | |
"preLaunchTask": "My Build", | |
"MIMode": "lldb" | |
} | |
] | |
} |
This file contains hidden or 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": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "cppbuild", | |
"label": "My Build", | |
"command": "g++", | |
"args": [ | |
"-fsanitize=address", | |
"-g", | |
"main.cpp", | |
"solution.cpp", | |
], | |
"problemMatcher": [ | |
"$gcc" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment