Just got a new verdin SOM and mallow carrier board. New to Toradex’s ecosystem. I’m working through the quickstart guide for developing applications for Torizon. The SOM appears to be connected properly to the Torizon IDE extension, however, the Set Default command for the connected device fails with the following error message:
“Unable to write to Workspace Settings because docker.environment is not a registered configuration.”
settings.json is not updated at all. I’m unsure what/how to troubleshoot this.
Using Torizon IDE Extension 3.0.4
Info from SOM:
Distro name: NAME=“TorizonCore”
Distro version: VERSION_ID=6.8.2-build.30
Distro variant: VARIANT=“Docker”
HW model: Toradex Verdin iMX8M Plus on Verdin Development Board
Toradex version: 0063 V1.1B
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Did you like my answer?
Hello and welcome to the Toradex ecosystem!
Thank you for providing detailed information about your setup. The error message:
“Unable to write to Workspace Settings because docker.environment is not a registered configuration.”
suggests there’s an incompatibility between the Torizon IDE Extension and your current project or VS Code workspace setup.
Troubleshooting Steps
Ensure Project Type is Correct
The Torizon IDE Extension, starting from v3, supports only projects initialized with Torizon templates. If your project was created as a general VS Code project (not via the extension), it won’t register the docker.environment configuration. Try creating a new Torizon project as follows:
In VS Code, open the Command Palette (Ctrl+Shift+P), then run: Torizon: Create a new Application Project
Choose the appropriate template for your application (e.g., “C/C++”, “Python”, etc.).
File Location
Make sure you are working in the correct “Workspace”. The Torizon extension prefers using a VS Code multi-root workspace. If you open only a single folder, some features may not work.
Device Connection
After opening a valid Torizon project, check under “CONNECTED DEVICES” in VS Code to ensure your device is listed and in a connected state. Device connection guide
Set as Default Device
Right-click your device in the “CONNECTED DEVICES” list and select “Set as Default”. The extension should now update your .vscode/settings.json in the workspace and manage all Docker architecture settings.
Extension & VS Code Updates
Ensure both your Torizon IDE Extension and VS Code are up to date, as extensions sometimes rely on new capabilities or bugfixes in recent releases.
Clearing Settings
If you had manually edited settings.json, revert it to the default, or delete it and let the extension recreate it.
If you follow these steps and still encounter the error, please let me know at which step things do not work as expected so I can provide more targeted help.
This appears to be due to a change from Microsoft. They changed how the Docker extension works which our extension relies on. For the time-being you can downgrade the Docker extension to a previous version that works with our extension. This comment on this other thread shows how you can do so: Update fails many times from Torizon clouad - #23 by henrique.tx
Our team does plan to release a new version of our extension soon that works with the change from Microsoft.