Is it possible to debug DSC custom resources in PS Studio?

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
artisticcheese
Posts: 12
Joined: Thu Dec 10, 2015 4:54 pm

Is it possible to debug DSC custom resources in PS Studio?

Post by artisticcheese » Thu Mar 31, 2016 1:41 pm

Hello,

I have 5.2.7 Version of PS Studio and wondering if it's possible to debug DSC Resources or functionality. Anybody has tips or ideas?

User avatar
davidc
Posts: 5888
Joined: Thu Aug 18, 2011 4:56 am

Re: Is it possible to debug DSC custom resources in PS Studio?

Post by davidc » Thu Mar 31, 2016 2:44 pm

We haven't included any explicit DSC debugging support, but that doesn't necessarily mean it won't work.

Here is an MSDN article on how to enable DSC debugging in PowerShell:

https://msdn.microsoft.com/en-us/powers ... ugresource

David
David
SAPIEN Technologies, Inc.