Skip to content

Instantly share code, notes, and snippets.

Created August 10, 2020 13:41
What would you like to do?
cpp debug configurations
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit:
"version": "0.2.0",
"configurations": [
"name": "gcc - Build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/a.out",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb",
"preLaunchTask": "C/C++: gcc build active file"
// See
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
"type": "shell",
"label": "C/C++: gcc build active file",
"command": "gcc",
"args": [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment