Skip to content

Instantly share code, notes, and snippets.

@virgilwashere
Created October 25, 2013 16:12
Embed
What would you like to do?
break on exception
# You can add this line in your profile instead of here... Set-PSBreakpoint -Variable BreakOnException -Mode ReadWriteWrite-Host "Enter"# then just add this where you want to enable breaking on exceptionstrap { $BreakOnException; continue }Write-Host "Starting"throw "stones"Write-Host "Ending"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment