Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
I’m sorry to hear about the trouble you’re experiencing with the Visual Studio Code Torizon extension and WSL. Let’s try a few steps to resolve this issue:
-
Verify WSL Connection: Make sure you’re launching Visual Studio Code from a WSL terminal. Open a WSL terminal and use the command
code .
to start VS Code. Check the bottom left corner of the VS Code window to confirm it shows the WSL distribution name. -
Network Connectivity: Ensure that both your development machine and the Verdin development board are connected to the same network. This is essential for the Torizon extension to communicate effectively with the board.
-
Port Forwarding: Verify that the necessary ports are open and accessible between your machine and the development board. The Torizon extension might require specific ports to be open, depending on your project setup.
-
Check Internal Logs: Use the VS Code command palette to select “Developer: Toggle Developer Tools”. In the new window, go to the “Console” tab to view logs. Look for any error messages that might give more insight into the connection issue.
-
Reinstall and Update: Although you’ve reinstalled VS Code and the extension, double-check that both are updated to the latest versions. Updates can sometimes resolve underlying issues.
By following these steps, you should be able to identify and resolve the connection issue with the Torizon extension. If the problem continues, examining the specific error messages in the logs can help pinpoint the root cause.
I hope this helps! If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem: