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
Attaching to a ROS Python node:
Attaching to a ROS C++ node:
- Debugging functionality provided by
vscode-roshas 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.
- To debug a C++ executable, please make sure the binary is built with debug symbols.
- 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 http://aka.ms/ros.