deubg PS1 with "PowerShell Tools for Visual Studio 2013"


hello,

i have question about  "powershell tools visual studio 2013"  .

i want debug individual powershell  files not included in powershell solution.

when load powershell  file , see "attach" ,but don't see debug run . need attach process?

 

thanks, peter




i figured out answer.

first , open ps1 script in ise, , set breakpoint.

then , in visual studio 2013, attached process powershell ise.

back in ise , hit run.

you see breakpoint in vs.



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file