DEBUGPY_ADAPTER_ENDPOINTS being invalid should output an error
@StellaHuang95 đang làm issue này rồi.
Từ ngày 8/3/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Before creating a new issue, please check the FAQ to see if your question is answered there.
Environment data
- debugpy version: 1.8.7
- OS and version: CentOS 8.5
- Python version: Python 3.10.15 from conda-forge
- Using VS Code or Visual Studio: --
Actual behavior
I'm starting debugby from the command line using
$ python -m debugpy --log-to-stderr --listen 127.0.0.1:5799 --wait-for-client -c 'print("hello world!")'
The adapter appears to be started and it reports the port number 5799 but when I want to connect to the port I get ECONNREFUSED in vscode. If I check with netstat the port is not open. If I list the running processes the debugpy adapter is not among them so my guess is that it fails right after opening the port.
When I run the above command with sudo, the adapter is started up correctly and the port can be accessed, the adapter process is listed by ps
Expected behavior
Adapter start up properly in user mode
Steps to reproduce:
I'm no aware of any way to reproduce the error outside my server. I've disample SELinux to make sure ports can be opened by user mode processes to no avail. This is an issue that started happening a few days ago and I'm not aware of any system updates.
- Ngôn ngữ chính
- Python
- Star
- 2.5k
- Fork
- 208
- Merge trung bình
- 1 ngày 43 phút
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/debugpy
-
pydevd_comm.py start_client() does not set TCP_NODELAY on the connections it opensCó thể đã có người làm @nightcityblade đã nhận 57 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Document "rules"-optionCó thể đã có người làm @nightcityblade đã nhận 45 ngày trước. Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
wx.EventLoop() deprecation warningCó thể đã có người làm @nightcityblade đã nhận 44 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
debugpy.configure(python=) is not properly documentedCó thể đã có người làm @nightcityblade đã nhận 55 ngày trước. Đang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
Tất cả issue của microsoft/debugpy
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
lugassawan/swe-workbench#799 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
vllm-project/vllm#61131 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Non-string form field names raise AttributeError when files are attachedCó thể đã có người làm @nightcityblade đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kubernetes-client/python#2735 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
desktop help wanted test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày