I'm confused which w3wp service should i choose to debug SP solution, what's the purpose of other services

enter image description here

2 Answers 2


Attaching to multiple processes, while it will work, is a bit overkill and attaches unneeded processes.

Look up the name of your app pool in IIS, open up a command prompt and then enter

 cd  %windir%\system32\inetsrv\
 appcmd list wps 

(or appcmd list wps /apppool.name:AppPoolName if you know your pool name and want to be specific)

Your app pools will be listed there along with the process ID. You can also go to the root of your IIS and select Worker Processes and look for your app pool's PID there.


They all run different IIS applications - check out the usernames attached to each one. I always attach to all the w3wp processes just in case - you can shift-click to select multiple processes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.