microsoft / microsoft/vscode-python-debugger

Issue with Python Debug: Dependency on WMIC for pickProcess

Đang mở
#744 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

needs PR
Ngôn ngữ chính
TypeScript
Star
181
Fork
126
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu từ tiện ích pickprocess được processId của launch.json sử dụng: "${command:pickProcess}" và theo dõi cách tiện ích này phát hiện các tiến trình Windows. Xác thực hành vi trên một hệ thống Windows gần đây không có WMIC; hoàn tất khi Python Debug có thể khởi chạy việc chọn tiến trình mà không yêu cầu tiện ích đã lỗi thời.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
powershell, python, typescript
Lĩnh vực
devtools, operating-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.