Author Posts

February 15, 2018 at 8:03 pm

Hello,

I have class based DSC resource, how do I effectively debug resource? I understand I'm supposed to instantiate a class directly but not sure how VSCode will know about class existence since it's in separate PSM1 file. So when I use $myObject = [MyClass]:new() it errors out with

Unable to find type [MyClass]