Visual Studio Debugging is stuck at "Attaching to the web server"
iis, iis-7.5, visual-studio, visual-studio-2015
Solution
So as I commented before I had this same issue, but I now figured out the cause and have a solution.
I just got a new machine last week (this issue was actually one of the reasons why) and after a while I had the same issues, not being able to debug my projects. Luckily because I was installing all the updates one by one I was able to pin-point when it started happening.
It seems the latest update for the "Microsoft ASP.NET and Web Tools" extension breaks something.
Sadly, uninstalling or reverting the Web Tools extension is not easy: Remove this extension by going to the Windows control panel and modifying your Visual Studio installation. I had to remove Visual Studio completely and reinstall it (repair didn't do the trick). You can update and install all your extensions as you wish, just make sure that you don't update the Web Tools extension
I tested this on my old machine and it did the trick there as well.
I've also created an Issue on GitHub as I won't be updating the extension until this is fixed, if anybody has additional information please add it to the Issue.
Problem
When I run my Web API application I get the following window: It just stays like that indefinantly, until I hit cancel. When I do hit cancel, this error message is shown: I have tried rebooting, and running `iisreset /restart` but it does not fix it. Any ideas what I can do to get my debugger working again? NOTE: My Web API 2 project's Servers setting is set to `Local IIS`. My service is hosted by IIS and when I am not debugging, it works fine.