Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugger statement in PowerShell

In JavaScript there is the debugger; statement that stops execution and acts as a break point. In C# there is the Debugger.Break() method with almost identical behavior. Does in PowerShell exist something similar?

like image 487
honzajscz Avatar asked Oct 22 '25 14:10

honzajscz


1 Answers

Wait-Debugger is the PowerShell equivalent.

like image 182
Patrick Meinecke Avatar answered Oct 26 '25 05:10

Patrick Meinecke



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!