Which w3wp?

If you want to debug your web application using Visual Studio, and don’t know which one is your target application, you can just select them all (the list is multi-select).

To see a list containing which IIS process (by PID) belongs to which application pool, run the following script in your command prompt:

cscript C:\WINDOWS\System32\iisapp.vbs