title: Multi-threaded Debugging in Visual Studio Code
body: <p>I've been working on a Powershell script that was handed to me. Never having dealt with powershell scritps before, I have a lot to learn. I have been using Visual Studio Code to run/debug it up until this point. It has been working well however, I'm running into an issue in a particular area that deals with multiple threads. I am unable to pause the Powershell script on specific breakpoints. </p>
  
  <p>After looking all over the past couple of days and it seems that threading is something that can be worked on within Visual Studio. I downloaded Visual Studio Community 2019 and have tried to install the "<a href="https://marketplace.visualstudio.com/items?itemName=AdamRDriscoll.PowerShellToolsforVisualStudio2017-18561" rel="nofollow noreferrer">Powershell Tools for Visual Studio</a>" suite. According to the package manager, it has installed without issue. However, I am unable to create a Powershell project (which I should be able to do) and I cannot see it within the extension manager in Visual Studio 2019. To make sure it wasn't an error on my part, I've attempted the installation several different times and with different methods.</p>
  
  <p>I've also looked at Windows built-in Powershell ISE for debugging but run into the same issue that Visual Studio Code has. This is rendering me unable to properly debug in the specific spots that I need to looking at. I have used <code>Write-Host</code> throughout most of the script however, as this is a script that was handed to me, I'd much rather be able to pause and look at all variables in a given state without having to print them all.</p>
  
  <p><strong>Is there any way to <em>easily</em> debug multi-threaded apps within Visual Studio Code?</strong> If there isn't, what would be some recommendations besides adding <code>Write-Host</code>,<code>Write-Debug</code> or similar cmdlets.</p>