We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d17b3b commit b3ea78cCopy full SHA for b3ea78c
src/PowerShellEditorServices/Services/DebugAdapter/BreakpointService.cs
@@ -52,6 +52,10 @@ internal class BreakpointService
52
# If using Set-PSBreakpoint we need to escape any wildcard patterns.
53
$PSBoundParameters['Script'] = [WildcardPattern]::Escape($Script)
54
}
55
+ else {
56
+ # WinPS must use null for the Script if unset.
57
+ $Script = [NullString]::Value
58
+ }
59
60
if ($PSCmdlet.ParameterSetName -eq 'Command') {
61
$cmdCtor = [System.Management.Automation.CommandBreakpoint].GetConstructor(
0 commit comments