So, I turned off a whole bunch of "unnecessary" Windows services, and then I ran into: "Cannot start debugging on the web server. The main connection was closed: the connection was unexpectedly closed." error.
I think this particular error is slightly different from the typical βUnable to start debugging on the web serverβ, I found very few hits on Google.
In any case, it turns out that debugging depends on the COM + Event Service window service.
Just FYI.
source share