小编pez*_*nen的帖子

Debug powershell in Visual studio code with parameters from command line

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)

debugging visual-studio-code

9
推荐指数
2
解决办法
7177
查看次数

克隆资源组

因此,我在具有域控制器,sql-server和Web服务器的azure资源组中设置了实验室环境.我想在需要的时候将整个资源组克隆到一个新的资源组,并且我认为一切都完好无损.那可能吗?

azure azure-resource-manager

6
推荐指数
2
解决办法
8527
查看次数