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]
You must be logged in to reply to this topic.