Improve Constrained Runspace Debug Experience

未關閉
#2,294 0 則留言 1 個 reaction 已指派 2 人 在 GitHub 檢視

@JustinGrote 已經在處理了。

開始於 2026年6月3日。

  • #2295 來自 @copilot-swe-agent —— 未關閉

評估

這個 Issue 還沒有評估資料。

描述

Area-Debugging Issue-Enhancement

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."

主要語言
C#
星號
767
分支
266
平均合併
3 天 16 小時
30 天內合併 PR
1

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

PowerShell/PowerShellEditorServices 的其他 Issue

查看 PowerShell/PowerShellEditorServices 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。