How do I debug DSC + VSCode

Welcome Forums DSC (Desired State Configuration) How do I debug DSC + VSCode

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

  • Author
  • #93730

    Points: 12
    Rank: Member


    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]

The topic ‘How do I debug DSC + VSCode’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort