question

RudolfMeier-2283 avatar image
0 Votes"
RudolfMeier-2283 asked DylanZhu-MSFT answered

powershell debugging

I'd like to write a powershell module (or whatever it's called)... in the end it's an assemly that you can load and that contains classes derived from PSCmdlet. And I'd like to debug this in Visual Studio (not Visual Studio Code or something, the full Visual Studio 2017 and 2019). ... now, when I tell Visual Studio to launch the powershell for debugging, the layout is different from when I launch it via the link I find in my startmenu. And it's also different from the layout when I launch it from the command line (typing powershell.exe). Question... why? How does this work with this layout stuff?

vs-debugging
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered

Hi RudolfMeier,

As far as I know, the default layout of debugger is the project output directory. Maybe you can change the output path or move related scripts and other components.

Best Regards,
Dylan


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.