Debugging PowerShell Scripts in Visual Studio 2019

preview_player
Показать описание
In this video, Adam shows how to debug PowerShell scripts in Visual Studio 2019 and PowerShell Tools for Visual Studio. You can download PowerShell Tools for Visual Studio from the Visual Studio Marketplace.

PowerShell Pro Tools provides support for PowerShell 6 and 7 within Visual Studio.

Рекомендации по теме
Комментарии
Автор

But like in debug mode in Visual Studio, what if you don't everything to shut down when your ps1 script terminates, so you can read whatever output it produced. How do you do this. If I run a script that does something like write-host 'hello' . A window flashes on the screen and the process terminates and I don't see its output anywhere

SteelBlueVision