Abstract
In Chapter 7, you learned how to perform unit and integration tests of your custom DSC resources. Testing is a great way to ensure that the functionality that you intend to build is indeed available and not broken. You saw in Chapter 9 how DSC debug and analytics logs can help you retrieve more information about DSC operations. However, there may be bugs that get introduced because of an environmental configuration where the resource module is being used or could just be a test miss. In this case, you need to use the available debugging techniques to root-cause the bug and fix it. DSC as a platform offers a way to debug resource modules while the enact is in progress. In this chapter, you will learn how to debug DSC resource module issues. This is going to be a quick one but I really suggest that you practice the debugging technique that you will learn with not just the simple example in this chapter but with a module of your own too. Let's get started.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Ravikanth Chaganti
About this chapter
Cite this chapter
Chaganti, R. (2018). Debugging DSC Resources. In: Pro PowerShell Desired State Configuration. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3483-9_12
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3483-9_12
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3482-2
Online ISBN: 978-1-4842-3483-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)