Skip to main content
Version: 5.0

Torizon Application Development With Visual Studio Code


Visual Studio Code is a text editor that can be enhanced with extensions to become your custom development environment. Toradex provides the Visual Studio Code Extension for Torizon to make your development life easier.


Browse for VS Code on Torizon resources from the tabs below.


Everything you need is a Computer on Module with Torizon installed and a desktop PC for development. If using Windows, you must have the Windows Subsystem for Linux 2 (WSL2) installed and configured.

How to Start​

Following our Step-by-step Quickstart Guide for fully supported modules is the easiest way to get you set up in no time.

Alternatively, you can follow the instructions below if you prefer a summarized version. This is only recommended if you have some knowledge of Torizon and VS Code, especially how to use the VS Code command palette.


The latest versions of the Toradex Torizon Support extension can be found on the Visual Studio Code marketplace, in two versions:

Click on the Extensions button in Visual Studio Code as shown in the image below and search for Toradex Torizon Support, then select the option you prefer among the ones presented above:

Toradex Torizon Support Extension for Visual Studio Code

Verify that the extension has been enabled:

Torizon extension

Add a Target Device​

Add a target device from either the network or the serial port. In the VS Code command palette, use either of the commands:

  • Network: Torizon: Detect device via network connection
  • Serial Port: Torizon: Detect device via serial port connection

Alternatively, from the VS Code graphical interface:

Current Time 0:00
Duration Time 0:00
Progress: NaN%

The board will reboot once you add it.

Create an Application From a Template​

In the VS Code command palette, type torizon create. You will be presented with some options, from which you can choose the programming language you want to work with:

Creating a Torizon Application

You will be prompted with a series of questions to configure your project. See below an example for C/C++, but keep in mind that options vary depending on the programming language:

Current Time 0:00
Duration Time 0:00
Progress: NaN%

this operation may take some time, especially if you create a new C/C++ project. This is due to the download of the SDK.

Deploy and Debug​

To start the process, all you have to do is press F5. Alternatively, you can select the menu Run and click on Start Debugging. A third method would be to open the command palette and type Debug: Start Debugging.

Additional Resources​

Proceed to the Documentation tab on this page.