Why does my Visual Studio 2005 detach from the process when I start the debugger?

I’m using VS2005 to develop a web application. When I start debugging it will open the web page but the immediately detach from the process. I have found that if I close the IDE and start it back up it will work fine for a while but then start detaching again. Any insight into this odd behaviour would be greatly appreciated.

Python debugging tips

Its goal is to provide all the niceties of modern GUI-based debuggers in a more lightweight and keyboard-friendly package. PuDB allows you to debug code right where you write and test it – in a terminal. If you’ve worked with the excellent (but nowadays ancient) DOS-based Turbo Pascal or C tools, PuDB’s UI might look familiar.

How to debug in Django, the good way?

wdb works with python 2 (2.6, 2.7), python 3 (3.2, 3.3, 3.4, 3.5) and pypy. Even better, it is possible to debug a python 2 program with a wdb server running on python 3 and vice-versa or debug a program running on a computer with a debugging server running on another computer inside a web page on a third computer!
Even betterer, it is now possible to pause a currently running python process/thread using code injection from the web interface. (This requires gdb and ptrace enabled)
In other words it’s a very enhanced version of pdb directly in your browser with nice features.