Chapter 18. Debugging scripts

After completing this chapter, you will be able to

Image Use the Write-Debug cmdlet to provide detailed information from a script.

Image Use the Set-StrictMode cmdlet to prevent errors during development.

Image Understand how to work with the Windows PowerShell debugger.

Understanding debugging in Windows PowerShell

No one enjoys debugging scripts. In fact, the best debugging is no debugging. It is also true that well-written, well-formatted, ...

Get Windows PowerShell Step by Step, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.