Attaching to the right process when debugging
Posted by mundeep on August 18, 2011
A common problem when trying to debug an ASP.NET web application (including SharePoint based solutions) is determining which w3wp.exe process to attach to. Thankfully there are a couple of commands to help out.
If using IIS7:
c:\Windows\System32\inetsrv\appcmd list wp
If using IIS6: