Skip to content

connect ECONNREFUSED 127.0.0.1:9501 #2

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

Open
viyjy opened this issue Feb 9, 2025 · 3 comments
Open

connect ECONNREFUSED 127.0.0.1:9501 #2

viyjy opened this issue Feb 9, 2025 · 3 comments

Comments

@viyjy
Copy link

viyjy commented Feb 9, 2025

Thanks for your code and tutorial, but I get error "connect ECONNREFUSED 127.0.0.1:9501" when I click on "Start Debugging" in vscode.
I have tried different ways to address this issue, but still the same thing.

@yuanzhoulvpi2017
Copy link
Owner

有的时候,确实会失效,换一换打断点的位置

@viyjy
Copy link
Author

viyjy commented Feb 10, 2025

I see, thanks!

@runnishino
Copy link

I see, thanks!

microsoft/vscode-python-debugger#612

我也碰到无法连接端口的问题,按debugpy的这个issue最后的解决方法,unset DEBUGPY_ADAPTER_ENDPOINTS 之后就可以正常debug了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants