I’ve been caught up with hardware for almost two months and haven’t used VS Code. Now, I see the old extension is outdated, and I need to switch to Torizon IDE Extension, also it has a warning in VS Code.
Found a two-month-old tutorial on YouTube by Matheus Castello using Torade Apollix, but Toradex Apollix isn’t in VS Code extensions anymore. Are they the same?
About the new extension not being available for Windows 64 bit, you’re seeing this because the IDE Extension 2 has to be installed on VSCode connected to WSL2.
To get started on the new extension, you can follow the steps in the Development Workflow here:
Thank you for providing clarification; your assistance is truly valued.
May I pose a question? I’ve initiated the document concerning the new extension, created a single-container project, and connected it to the Torizon OS target.
About your issue: looking from images you shared apparently Docker Engine is not installed on WSL2. Did you follow the instructions on setting up the Torizon IDE Extension 2 Environment before trying to use the extension?
From your images the Docker VSCode extension cannot connect to the Docker daemon, which usually means that Docker Engine is not installed.
The Docker extension by itself is not enough, you need to install Docker Engine as well, as our extension cannot work correctly without it. That’s probably why you’re seeing the issues.
I have followed the documentation to install Docker Engine on both Windows 10 and Ubuntu. Additionally, I have configured Docker to run without root privileges as suggested.
Also, enabled Ubuntu on the docker desktop.
However, despite following these steps, I am encountering the following error when trying to connect to Docker.
Can you check if settings.json has DOCKER_HOST set? You can access it by pressing F1 on VSCode then selecting Preferences: Open User Settings (JSON).
If you find DOCKER_HOST in there remove the line that has it then save settings.json. Remove any connected devices to the extension before creating a new project.
Once you create a new project and you’re inside its workspace, try connecting a device and set it as the default.
Is the extension on the latest version? It is V2.2.2 and builder is V0.0.10
Yes, as of now these are the latest versions for the IDE Extension and the Builder Extension.
Let’s review the steps you’re doing: You are able to create a new single container project with the Extension 2 and connect a Toradex SoM to it, correct?
Can you start a debug session? What output do you receive when trying to run it?