Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

DEBUGPY_ADAPTER_ENDPOINTS being invalid should output an error

オープン
#1,866 コメント 13 件 リアクション 0 件 担当者 1 名 GitHub で見る

@StellaHuang95 がすでに取り組んでいます。

2025年3月8日 から。

評価

この issue はまだ評価されていません。

説明

bug needs repro

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.

主要言語
Python
スター
2.5k
フォーク
205
平均マージ
1日 9時間
マージ済み PR(30日)
3

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/debugpy のほかの issue

microsoft/debugpy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。