Getting Process ID for specific Application Pools
The other day I was debugging a web site and thought to myself "how can I know to which Process ID to attach to"? well I came across to the following:
C:\windows\system32\inetsrv\appcmd.exe list wp
This command will list all the available application pools along with their process Id, now you can go and attach to the process specific to the application pool you are trying to debug