Attaching Visual Studio to multiple processes

Can’t believe I just found this out… It is possible to attach VS debugger to multiple processes, so if I have a bunch w3p processes, and need to pick 1 do debug – I can just select them all (Ctrl-Alt-P, Ctrl-click).

I used to solve this with a batch file consisting of

@c:WindowsSystem32inetsrvappcmd list wp
@pause

 

This is faster, though.

Leave a Reply

Your email address will not be published. Required fields are marked *