I have several processes running that I'd like to attach to the VS debugger via powershell.
Currently, I can do this: Get-Process NServiceBus.Host | Debug-Process
If there is only one process, then I am prompted to select the correct debugger and I can continue.
However, if there are more than one processes, when I'm prompted to select a debugger for the second process, I am unable to select the currently running instance of Visual Studio.
How can I use powershell to attach multiple processes to a running instance of visual studio for debuggin?