Using Powershell ISE I often set breakpoints in a script and start the script from command line. ISE then stops at the breakpoint and lets me debug from there. How do I do the same from Terminal in Visual Studio Code? Below is a script just to show you what I mean. Starting from a terminal I would write:
.\hello.ps1 -firstName "firstName" -lastName "theLastName"
Run Code Online (Sandbox Code Playgroud)
But doing that from terminal it just starts a new window.
.\hello.ps1 -firstName "firstName" -lastName "theLastName"
Run Code Online (Sandbox Code Playgroud) 因此,我在具有域控制器,sql-server和Web服务器的azure资源组中设置了实验室环境.我想在需要的时候将整个资源组克隆到一个新的资源组,并且我认为一切都完好无损.那可能吗?