November 2018
Intermediate to advanced
566 pages
17h 15m
English
Breakpoints are crucial to debugging. They help us halt the execution of the script at a desired point and then step through the process slowly. Breakpoints can be created in PowerShell in two ways: using the breakpoint controls in a visual editor (such as Visual Studio Code) or using cmdlets.
Set a breakpoint at line 17 in the script that you used in the previous recipe, Writing debug output.
Perform this action on Visual Studio Code as well as the Vim-and-PowerShell-terminal combo.
Read now
Unlock full access