Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ok, I haven't tried this myself, but I think it should work. Check the second answer here. It explains how you attach a ROS2 node to VS code. Then, in order to use gdb from a launch file, navigation2 has you covered. I _think_ you can combine these two ideas to debug VS code from a launch file. If you get it to work, do get back to me. :)