How do I attach the debugger to IIS instead of ASP.NET Development Server?

Debug->Attach To Process…

Select the aspnet_wp.exe process from the list.

If you’re running IIS > version 5 the process will be w3wp.exe, and there will be one for every app pool (so if you don’t know which app pool you’re hitting, you’ll need to attach to all of them).

Leave a Comment