Skip to content

Instantly share code, notes, and snippets.

@harukaeru
Created April 16, 2022 05:27
Show Gist options
  • Save harukaeru/ad74c1d1c6629e098caf3a977b5660da to your computer and use it in GitHub Desktop.
Save harukaeru/ad74c1d1c6629e098caf3a977b5660da to your computer and use it in GitHub Desktop.
default launch.json for VSCode & C++ on Mac OS X
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "clang++ - Build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb",
"preLaunchTask": "clang++ build active file",
"internalConsoleOptions": "openOnSessionStart"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment