vscode-powershell
vscode-powershell copied to clipboard
Inline Breakpoint Support
Prerequisites
- [X] I have written a descriptive issue title.
- [X] I have searched all issues to ensure it has not already been reported.
Summary
Currently PowerShell breakpoints are per-line, but they support columns as well, so we could support inline breakpoints similar to typescript, e.g. have a breakpoint specifically on hi2 but not the whole block
& {"hi";"hi2";"hi3"}
Proposed Design
Wire up the debug setBreakpoint to include column information and tie that to Set-PsBreakpoint -Column.
This should wait until https://github.com/PowerShell/vscode-powershell/pull/4065 lands.