description
If I type the following lines in Powershell the breakpoint gets hit and I get the [DBG] prompt (debugging mode):
function bar {
$a = 123
if ($a -gt 100)
{
$a
foo
}
}
function foo {
$a = 321
Write-Host $a
}
Set-PSBreakpoint -Command foo
bar
In PoshConsole the breakpoint don't seem to work.