-
Notifications
You must be signed in to change notification settings - Fork 146
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
Attach function doesn't work with ubuntu 22.04 #1413
Labels
bug
Something isn't working
Comments
That works without "--batch"
I also tried an absolutely clear Ubuntu 22.04 build and had the same issue. |
I'm also experiencing the same issue and remove --batch option indeed worked for me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment data
Actual behavior
./venv/bin/python -Xfrozen_modules=off -m debugpy --listen localhost:5678 --pid 26251
Attached to the process by pid.
Expected behavior
I'm getting after ./venv/bin/python -Xfrozen_modules=off -m debugpy --listen localhost:5678 --pid 26251:
In the process:
The second run leads to this:
In the app:
Steps to reproduce:
3*. try to start VSCode with attach settings
{
"name": "Python: Attach",
"type": "python",
"request": "attach",
"connect": {
"host": "localhost",
"port": PID
}
}
get an error "connect ECONNREFUSED 127.0.0.1:5678"
Note
With PYDEVD_GDB_SCAN_SHARED_LIBRARIES and PYDEVD_DISABLE_FILE_VALIDATION=1 the same.
The text was updated successfully, but these errors were encountered: