Sub4Sub network gives free YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Debug PowerShell with and without VS Code

Follow
John Savills Technical Training

In this video I walk through how to debug PowerShell code using VS Code native features and the native PowerShell debugger.

My demo file https://github.com/johnthebrit/Random...
PowerShell 7 https://github.com/PowerShell/PowerShell
VS Code https://code.visualstudio.com/download

00:00 Introduction
03:38 Sample project
06:00 Adding breakpoints
07:05 Using the debugger
08:40 Step into and over
13:55 Demo code walk through
16:30 Function breakpoints
22:10 GetPSBreakpoint
24:40 Expression and hit count breakpoints
29:10 Call stack
30:03 Create breakpoint from powershell
31:00 Native PowerShell debugging
35:27 Mixing commands together
39:55 Summary and close

posted by ukudayisae7