I have written some PowerShell Modules in C#. I know how to debug them in Visual Studio. (With stepping through etc.) Is there a way to debug C# PowerShell Modules in Visual Studio Code?
CodePudding user response:
- Set breakpoint
- Start debug and choose the pswh console process
- Import module and use cmdlet