Website Debugging in Visual Studio on Vista
I've seen this question asked a few times now (and of course I ran into the issue myself a while back).
"I'm running Vista and using VS to debug a website I've built. The problem is, none of my breakpoints seem to get hit."
Well you're running into some of the advanced security features in Windows Vista and you have a couple of options. You can either:
- Run VS elevated (right-click "Run as Administrator)
- Or add http://localhost to your trusted sites list in IE (assuming your site is on your local machine or you're running the built-in webserver in Visual Studio)
Personally, I've done the latter. Now all my breakpoints get hit whether they're in managed code or script. Phew!