-
Notifications
You must be signed in to change notification settings - Fork 101
[bug] Error: Failed to start debug session in Ubuntu 18.04 #869
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
Comments
It seems that error is caused due to Python 2.7 as indicated by the following screenshot: Below is the
How to launch debugger in ROS Melodic? |
Hi, |
It works like a charm! Thank you very much. I hope the plans to support older versions get a green signal. Until then, I will keep using 2022.2.1924087327, as you suggested. Thanks again. |
On another computer, having same OS and configuration, the "Launch" works but "Attach" doesn't while debugging python node. May I request you to please have a look at #872 BTW, is there any log file in vscode? It would help to dig deeper in these issues. Thanks |
There is a new log file support in 0.9.0. Using the "output" tab, select "ROS", which now shows logging. (Before it was only showing when debugged). That said, these issues are related to the Python extension, not the ROS extension. Because of this dependency, Melodic is not supported by current versions of the ROS extension. |
Thank you very much for this helpful information.
I understand. If you don't mind, may I ask you for a workaround please? |
Version Info
<Version of the plugin>
Visual Studio Code v1.74.3
VSCode-ROS Extension v0.8.4
<Copy the Version information from the
Help | About
menu>Bug Info
Can not attach or launch the debugger at all.
Repro steps
launch.json
file:Expected Behavior
Debugger should run.
Additional Info
Please see two screen recordings below:
1.mp4
2.mp4
I noticed that attaching a node is requesting authentication. But after providing the correct password, nothing happens. Similarly, the launching nodes show processes for a second but die/disappear immediately.
The developer tools are showing following following error:
Please see a screenshot below:

The issues is also reported in SO
The text was updated successfully, but these errors were encountered: