ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A

Updating the VS Code extension for ROS to 0.6.0

We are excited to introduce another update for the VS Code extension for ROS! This update enables ROS2 runtime monitor and adds support for ROS2 command line tools (ros2 run and ros2 launch)! This is how it looks!

Meantime, this update also enables a bootstrapped debugging experience for debugging a ROS (Python or C++) node by attaching to the process (works on both Windows and Ubuntu). See it in action!

To get started, create a ros-type debug configuration with an attach request:

Attaching to a ROS Python node:

Attaching to a ROS C++ node:


  1. Debugging functionality provided by vscode-ros has dependencies on VS Code’s C++ and Python extensions, and those have dependencies on the version of VS Code. To ensure everything works as expected, please make sure everything is up-to-date.
  2. To debug a C++ executable, please make sure the binary is built with debug symbols.
  3. To use VS Code’s C++ extension with MSVC on Windows, please make sure the VS Code instance is launched from a Visual Studio command prompt.

For feature requests and bug reports, please post in the ms-iot/vscode-ros repository. Let’s keep this project evolving just like ROS itself =)

For more details about this project and ROS on Windows, please check out



Nice work, we will give it a shot!!!



Is it in the plans (or already supported) to make this extension work for the case in which VSCode is on Windows but ROS is running inside WSL?

We do have aspirations to enable this. I’ve created a project on the vscode github to call this out: We haven’t spec’d it or tasked it out yet.