microsoft / microsoft/vscode-python-debugger

Issue with Python Debug: Dependency on WMIC for pickProcess

Offen
#744 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

needs PR
Vorherrschende Sprache
TypeScript
Sterne
181
Forks
126
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
3

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne bei der pickprocess-Utility, die von launch.json's processId: "${command:pickProcess}" verwendet wird, und verfolge, wie sie Windows-Prozesse erkennt. Überprüfe das Verhalten auf einem aktuellen Windows-System ohne WMIC; abgeschlossen ist die Aufgabe, wenn Python Debug die Prozessauswahl starten kann, ohne das veraltete Utility zu benötigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
powershell, python, typescript
Bereich
devtools, operating-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.