Skip to content

Instantly share code, notes, and snippets.



Last active Nov 9, 2018
What would you like to do?
C/C++ Workspace settings for VSCode on MacOS (lldb for Debugger)
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit:
"version": "0.2.0",
"configurations": [
"name": "(lldb) Debug binary_tree",
"type": "cppdbg",
"request": "launch",
"preLaunchTask": "build binary_tree", // make sure latest build is compiled before debugging
"program": "${workspaceFolder}/binary_tree",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb"
"files.associations": {
"__config": "cpp",
"__nullptr": "cpp",
"cstddef": "cpp",
"exception": "cpp",
"initializer_list": "cpp",
"new": "cpp",
"stdexcept": "cpp",
"type_traits": "cpp",
"typeinfo": "cpp",
"algorithm": "cpp",
"memory": "cpp"
"editor.rulers": [80],
"editor.tabSize": 2,
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, IndentWidth: 2 }"
// See
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
"label": "build binary_tree",
"type": "shell",
"command": "g++ -std=c++11 -g -Wall -Werror -o binary_tree",
"group": {
"kind": "build",
"isDefault": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment