cpp debug configurations
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
{ | |
// 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": "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" | |
} | |
] | |
} |
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
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// 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": [ | |
"-g", | |
"${workspaceFolder}/BinarySearch.c", | |
"-o", | |
"${fileDirname}/a.out" | |
], | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment