-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Debugging ros2 launch file #567
Comments
I'll look into it - I don't see why this can't be supported. |
Hey @ooeygui, any updates on this? |
@MTDzi Thanks for checking - it is a super useful feature, but I have not started looking at it. I'd be happy to collaborate if someone wants to take a crack at this. |
Hey, I am just checking in. Are there now ways to debug launch files in ros2? (using humble) |
Thanks for the interest in this :-) I'm working on it in https://github.com/ms-iot/vscode-ros/tree/feature/debug_launch_files. I might split this into two work items - one which is about debugging the launch file itself, without launching the ROS nodes; and the second which launches them as well. |
We now support debugging the launch file itself - although it does not actually launch ROS nodes at the moment. |
I'm trying to debug a launch_test file, which is similar to a launch file. Would it work using this feature? |
Hi there, |
The launch_test file I use is of this type The test can be run like this it would be great if I could put breakpoints either in the tests or in the nodes code and step through with vscode. |
@martinakos Thanks for the clarification. Yes, you can debug the tests themselves. I have a video on setting up launch debugging. https://www.youtube.com/watch?v=A6ABRdL0ckg&feature=youtu.be. ROS Test is set up similarly, although I don't have a video on it. (This feature is about walking through launch files without actually launching ROS Nodes) I'll create an issue for documenting test debugging. |
I see a lot of content regarding how one can setup vscode for debugging a ros node. Is it possible to debug the launch file itself?
This may not have been so interesting in ros1, but in ros2 with the added complexity of the python launch file format I feel it could be useful if it doesn't yet exist. In short, is it currently possible to debug the launch file itself in ros2 foxy and if so how?
Using: ros2 foxy and Ubuntu 20.04 LTS.
The text was updated successfully, but these errors were encountered: