This issue is driving me insane: I was working on a recently created project and suddenly I was unable to debug that specific project.
I\'m using a local IIS 7.5 with t
I had a similar problem using VS 2010, IIS 7, and URLRewriter 2 and found a workaround - though hopefully someone will post a real solution for you.
You can attach the debugger to the IIS process and debug as follows:
1. In Visual Studio, click Debug > Start without debugging
2. Set a breakpoint
3. Click Debug > Attach to Process.
3. Check the "Show processes in all sessions" checkbox.
4. Highlight w3wp.exe (the iis worker process) and click "Attach"
5. In your browser, go to the url that will cause your breakpoint to be hit
6. In Visual Studio, the code should be paused at your breakpoint and you can step through as usual.