The externalConsole, if set to false it opens it in the Integrated Console. The preLaunchTask should be set to the build task set earlier. The important configs here are "preLaunchTask": "." and "externalConsole": true. Configure it to build your app, like this: /app/test", vscode/tasks.json folder in your workspace with a default task. If this is the first time you are doing this, VS Code is going to create a. Open the command palette, find Tasks: Configure Tasks then select a suitable C++ compiler (ex. ![]() You can create a launch configuration that runs your app in your OS's native terminal/console.įor example I have this very simple test file: #include ġst, install Microsoft's C/C++ VS Code extension to add support for debugging C++ files.Ģnd, create a build task.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |