35
edits
Changes
→launch.json
"configurations": []
}
<ol><li value="4"> Find and press the “'''Add configurations'''" button near the bottom right, it will let add a template configuration for us to start with </li></ol>::i. You’ll see many options come up, we want to choose “'''C/C++: (lldb) Launch'''”.Now our launch.json should look like this:
{
// Use IntelliSense to learn about possible attributes.
}
'''prelaunchTask''': The prelaunch task is set to a string that matches the label section in our tasks. It identifies which task needs to run in order for the launch to be successful. This is where you can create multiple launch tasks that setup your files differently. We’ll be adding a '''task''' and a '''launch''' for all the library we’ll be setting up.
===We recommend you create and test these configurations yourself, after you’ve gotten it working, you can use the same /.vscode directory in your other projects.===