Skip to content

Hitting a breakpoint in the console while not debugging should activate the VS Code debugger #619

Closed
@daviwil

Description

@daviwil

Desired behavior:

  1. Open a .ps1 file and set breakpoints using Set-PSBreakpoint -Script <script> -Line <##>
  2. Run the script from the console by invoking with its script name
  3. PowerShell hits the breakpoint, activates VS Code's debugger, then shows the breakpoint hit at that line

This should also work for command and variable breakpoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions