Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline Breakpoint Support #4803

Open
2 tasks done
JustinGrote opened this issue Oct 27, 2023 · 1 comment
Open
2 tasks done

Inline Breakpoint Support #4803

JustinGrote opened this issue Oct 27, 2023 · 1 comment
Labels
Issue-Enhancement A feature request (enhancement).

Comments

@JustinGrote
Copy link
Collaborator

Prerequisites

  • I have written a descriptive issue title.
  • 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 JustinGrote added the Issue-Enhancement A feature request (enhancement). label Oct 27, 2023
@JustinGrote
Copy link
Collaborator Author

This should wait until #4065 lands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

No branches or pull requests

1 participant