microsoft / microsoft/vscode-python-debugger

Issue with Python Debug: Dependency on WMIC for pickProcess

オープン
#744 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

needs PR
主要言語
TypeScript
スター
181
フォーク
126
平均マージ
2日 3時間
マージ済み PR(30日)
3

説明

Hi,

When using Python Debug, the pickprocess utility (in launch.json => "processId": "${command:pickProcess}") requires the Windows Management Instrumentation Command-line (WMIC) service to be installed and available on the system.
However, WMIC is not installed by default on recent versions of Windows. This dependency can cause failures or unexpected behavior when attempting to launch pickprocess on systems where WMIC is absent.

We can add it manually but it's important to note that WMIC is now deprecated by Microsoft and is considered obsolete. Microsoft has officially announced that WMIC is being removed from Windows distributions and recommends using PowerShell cmdlets as alternatives for system management tasks.

Best regards
Christophe

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

launch.json の processId: "${command:pickProcess}" で使用される pickprocess ユーティリティから始め、それが Windows プロセスをどのように検出するかを追跡します。WMIC のない最近の Windows システムで動作を検証します。Python Debug が非推奨のユーティリティを必要とせずにプロセス選択を起動できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell, python, typescript
領域
devtools, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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