Last active
May 14, 2023 16:07
-
-
Save karlrado/7da0bbaf4159f3baa53688188a7e0348 to your computer and use it in GitHub Desktop.
VSCode Launch Scripts
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": "ChapterN", // Need to be looking at the ChapterN source file to use this | |
"type": "cppvsdbg", | |
"request": "launch", | |
"program": "${command:cmake.buildDirectory}/${relativeFileDirname}/${command:cmake.buildType}/${fileDirnameBasename}.exe", | |
"args": [], | |
"stopAtEntry": false, | |
"cwd": "${command:cmake.buildDirectory}", | |
"environment": [], | |
"console": "internalConsole" | |
}, | |
{ | |
"name": "Chapter1", | |
"type": "cppvsdbg", | |
"request": "launch", | |
"program": "${command:cmake.buildDirectory}/source/Chapter1/${command:cmake.buildType}/Chapter1.exe", | |
"args": [], | |
"stopAtEntry": false, | |
"cwd": "${command:cmake.buildDirectory}", | |
"environment": [], | |
"console": "internalConsole" | |
}, | |
{ | |
"name": "Chapter2", | |
"type": "cppvsdbg", | |
"request": "launch", | |
"program": "${command:cmake.buildDirectory}/source/Chapter2/${command:cmake.buildType}/Chapter2.exe", | |
"args": [], | |
"stopAtEntry": false, | |
"cwd": "${command:cmake.buildDirectory}", | |
"environment": [], | |
"console": "internalConsole" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment