问题
I'm trying to do 'Attach to Process' for debugging in Visual Studio 2008 and I can't figure out what process to attach to. Help.
回答1:
Indeed it is still w3wp.exe - You'll need to check the 'Show processes in all sessions' option to get it to show up though.
(It caught me out for a while too.)
回答2:
Isn't it w3wp.exe?
回答3:
Here's a useful article for identifying w3wp processes, if you're running more than one.
For IIS 6.0
- Start > Run > Cmd
- Go To Windows > System32
- Run
cscript iisapp.vbs
- You will get the list of Running Worker ProcessID and the Application Pool Name.
From IIS 7.0 you need you to run IIS Command Tool ( appcmd ) .
- Start > Run > Cmd
- Go To Windows > System32 > Inetsrv
- Run
appcmd list wp
来源:https://stackoverflow.com/questions/60918/what-is-the-worker-process-for-iis7