Debugging in VS Code

A breakpoint pauses a script on a line in VS Code, so you can look at every variable, step through it one line at a time with F10, and watch an expression until a value surprises you; Set-PSBreakpoint does the same at the prompt.

Updated

Cheat sheet for the lesson Debugging in VS Code: A breakpoint pauses a script on a line in VS Code, so you can look at every variable, step through it one line at a time with F10, and watch an expression until a value surprises you; Set-PSBreakpoint does the same at the prompt.
Category
PowerShell
Level
Journeyman
Tags
breakpoint, Debugger, powershell, set-psbreakpoint, VS Code