... | ... | @@ -5,4 +5,11 @@ |
|
|
* Launch VSCode
|
|
|
* Open the folder containing the code
|
|
|
* CPP or Python (use Ctrl+X Ctrl+F)
|
|
|
* Click on the cogwheel icon in the bottom-left corner and select "Command Palette..." (or menu "View->Command Palette..."), then type "remote-container build container" |
|
|
* Take a look and edit ``.devcontainer/devcontainer.json``
|
|
|
* Click on the cogwheel icon in the bottom-left corner and select "Command Palette..." (or menu "View->Command Palette..."), then type "remote-container reopen"
|
|
|
* This will reload the VS Code window and wait for the container to come up
|
|
|
* This operation takes some time: an image will be built by VS Code according to ``.devcontainer/Dockerfile``, then a VS Code server will be installed automatically
|
|
|
* You can ignore the configuration messages
|
|
|
* If you opened the C++ version: run the command *CMake: Debug target*
|
|
|
* When asked, choose GCC 6.3.0
|
|
|
* If you get the "Cannot connect to diplay" error, edit the ``.devcontainer/devcontainer.json`` file to setup the DISPLAY environment variable properly, then run the command *Rebuild container* |
|
|
\ No newline at end of file |