How do I debug DSC + VSCode

This topic contains 0 replies, has 1 voice, and was last updated by  GS 3 months, 1 week ago.

  • Author
    Posts
  • #93730

    GS
    Participant

    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]

You must be logged in to reply to this topic.