Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

how do I debug scriptblocks or background jobs

$
0
0

Hi All,

I am trying to update an existing powershell script that makes extensive use of scriptblocks and Jobs. How do i set a breakpoint inside these areas and actually hit them? Currently they appear to be operating on a different thread and I have no ability to step into them.

Any help is appreciated.


Mark


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>