vscode-powershell icon indicating copy to clipboard operation
vscode-powershell copied to clipboard

Inline Breakpoint Support

Open JustinGrote opened this issue 2 years ago • 1 comments

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.

JustinGrote avatar Oct 27 '23 21:10 JustinGrote

This should wait until https://github.com/PowerShell/vscode-powershell/pull/4065 lands.

JustinGrote avatar Oct 27 '23 21:10 JustinGrote