PowerShell / PowerShell/PowerShellEditorServices
Improve Constrained Runspace Debug Experience
- Ngôn ngữ chính
- C#
- Star
- 767
- Fork
- 266
- Merge trung bình
- 3 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
If you start a debug in a constrained runspace, wait-debugger will silently be skipped and cause the debugger to skip breakpoints, leading to a confusing user experience.
If when a powershell launch config is started, we should check the runspace if constrained mode is enabled. If it is, we should check if all the powershell commands we use for DAP like get-variable, wait-debugger, get-psrunspace are available. If any are not available, we should stop the debug session and present a dialog saying "Cannot start debugging because you are running PowerShell in a constrained language mode that does not have the required debug commands available. Please contact your administrator to add the debug commands to your constrained runspace."
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.