microsoft / microsoft/vscode-python-debugger
Issue with Python Debug: Dependency on WMIC for pickProcess
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 181
- Fork
- 126
- Merge medio
- 2g 3h
- PR unite (30g)
- 3
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dall’utility pickprocess usata dal processId di launch.json: "${command:pickProcess}" e traccia il modo in cui individua i processi Windows. Verifica il comportamento su un sistema Windows recente senza WMIC; il lavoro è completato quando Python Debug può avviare la selezione del processo senza richiedere l’utility deprecata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- powershell, python, typescript
- Ambito
- devtools, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100