![]() The end result will be the same, regardless of the method chosen: Click on Add Device and choose to either add the device using the Network connection or over the Serial Port. Go to the Torizon tab and see that your "devices" view is empty. To debug and test our application, we need a device to deploy it. Replace the content of the file launch.Add Target Device Connection In Visual Studio Code In the vertical menu on the left you can see the “bug” icon.Ĭlick on the link “create a launch.json file” (a drop-down menu will open, select Docker – debug in container) and a launch.json tab opens: ![]() In this new window you will click again on “Open Folder” and select the folder of the container that “maps” the source of your project present on your PC, that is the folder /var/Enable the debug Then select the container devcontainer_dockerltb_1:Ī new Visual Studio Code will open, you can close the previous window. Then, click on the green area at the bottom left of the editor (that small green area is available because you have previously installed the Remote – Containers extension in your VSC):Ī drop-down menu opens, click on “Remote-Containers: Attach to Running Container…” Open the folder containing the source code of your project: Attachez votre Visual Studio Code au conteneur docker You will also notice that there is a small search form allowing you to apply a search filter. To install extensions you have to go through the menu in the left bar pointed by the small red arrow in the following image: Add an extension ![]() If you are installing VSC for the first time then you will have to install the following extensions. ![]() Enable debugging on VSC for your PHP project Install the necessary VSC extensions If you haven’t tried it yet, I invite you to download it, it will be useful for the rest of this tutorial. ![]() This is an excellent alternative to JetBrains IDEs, and to the Eclipse IDE. Visual Studio Code is a free, extensible, open source code editor developed by Microsoft for Windows, Linux and macOS. Maybe you don’t know VSC? Don’t panic, team Bichon will introduce you to him. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |