leoluk
leoluk

Reputation: 12971

Django - pass exception to debugger

Usually, Django outputs a nice HTML traceback page once something goes wrong. This is fine as long as I run the server directly, but now I'm trying to run Django using a Python debugger (Wing IDE in my case).

I can set breakpoints and it stops, but once an exception is thrown, the debugger doesn't breaks as Django handles the exception. What do I need to do in order to leave those exceptions unhandled?

Upvotes: 1

Views: 191

Answers (1)

Wingware
Wingware

Reputation: 906

See "Notes on Debugger Configuration" in the following: http://wingware.com/doc/howtos/django

Upvotes: 1

Related Questions