Skip to content

Breakpoints not honored in file name with square brackets in name #123

Closed
@rkeithhill

Description

@rkeithhill

In testing the ${file} way of specifying the file to debug, I'm noticing that for a file named foo[1].ps1 the breakpoint never hits - even though the script clearly executes. And while VSCode shows the file as having a breakpoint, if I run Get-PSBreakpoint in the dbg repl, it doesn't show up. My guess is that were we set the breakpoint file we probably need to use -LiteralPath instead of -Path.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions