See here for a similar example with Conan
This template demonstrates how to build and execute a C++ program inside a container.
All the C++ related VSCode extensions are defined in the devcontainer.json
file and are automatically installed with the container.
You need to have Visual Studio Code and the Remote Development extension installed on your computer.
Open the .cpp
file to debug, then press F5 to launch the instructions defined in launch.json
.