Timed out error while using debugpy in IntegratedTerminal
@debonte がすでに取り組んでいます。
2024年11月18日 から。
評価
この issue はまだ評価されていません。
説明
I am pretty new to VSCode so sorry in advance if I am not providing enough information.
I am using macOS Sonorama 14.5 using VSCode with:
Version: 1.95.3
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin x64 23.5.0
While working with Python 3.13.0 from a virtual environment, if I try to run the following launch.json configuration:
{
"name": "main",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/src/main.py",
"console": "integratedTerminal",
"logToFile": true,
"cwd": "${workspaceFolder}",
"env": {
"PYTHONPATH": "${cwd}"
}
}
I get the following error:
The debubpy extension logs are:
2024-11-17 03:40:49.650 [info] Resolving launch configuration with substituted variables
2024-11-17 03:40:49.656 [info] DAP Server launched with command: /Users/jorgepose/Desktop/Code/LearningPandas/.venv/bin/python /Users/jorgepose/.vscode/extensions/ms-python.debugpy-2024.10.0-darwin-x64/bundled/libs/debugpy/adapter --log-dir /Users/jorgepose/.vscode/extensions/ms-python.debugpy-2024.10.0-darwin-x64
2024-11-17 03:40:50.231 [info] Received 'debugpySockets' event from debugpy.
2024-11-17 03:40:50.237 [info] Received 'debugpySockets' event from debugpy.
2024-11-17 03:40:50.238 [info] Received 'debugpySockets' event from debugpy.
If I change the "console" to "internalConsole" I don't get such error and the code runs fine. I tried using previous versions of both vsCode and debugpy but that didn't work, and doing it while not having any other extension installed also gives the same error. From what I've seen in other issues, in Windows it's already fixed but I don't know if someone else is having this problem with Mac
- 主要言語
- Python
- スター
- 2.5k
- フォーク
- 205
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/debugpy のほかの issue
-
pydevd_comm.py start_client() does not set TCP_NODELAY on the connections it opens対応中かも @nightcityblade が 51 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Document "rules"-option対応中かも @nightcityblade が 40 日前に担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
wx.EventLoop() deprecation warning対応中かも @nightcityblade が 38 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
debugpy.configure(python=) is not properly documented対応中かも @nightcityblade が 49 日前に担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
Code run with -c or a "code" launch gets __name__ == "builtins" instead of "__main__"対応中かも @Om-singhaI が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
microsoft/debugpy の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Juniper/ansible-junos-stdlib#904 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
pollen-robotics/reachy_mini#1457 ·
メンテナーはふだん 1 日以内に返信
-
area:runtime good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
WATonomous/wato_f1tenth#39 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
FireDynamics/fdsreader#123 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100