ros2 / ros2cli

ROS 2 command line interface tools
Apache License 2.0
172 stars 161 forks source link

how to debug launch file? #803

Closed HaoLiuHust closed 1 year ago

HaoLiuHust commented 1 year ago

as we know, we can use ros2 launch pkg_name xx.py to execute a launch file. is there a way to debug a python launch file using vscode if I want to set breakpoints in the launch file?

clalancette commented 1 year ago

Please open questions like this on https://answers.ros.org, which is our central Question and Answer site. You'll get a better answer there, and it will be searchable for the future.

Make sure to include a lot of information on what platform you are using, which ROS distribution you are using, and the exact steps you took.