Hacker News new | ask | show | jobs
by adr1an 948 days ago
For the sake of completeness, I can recommend Werkzeug. I use it for Django backend development and it's incredibly useful. It allows me to have "PDB" shell right in the browser whenever and wherever an exception is met.
3 comments

+1. It's easy to drop a 1/0 wherever I want Werkzeug to show up in the browser.
lol next time try “assert False” but I guess it’s same same
I really want to have that experience everywhere, including nose.js and the browser. It is so simple and intuitive
does it still requires to have django-extension/runserver_plus ?
idk if it's a hard requirement, probably not... but I am with it... at a dev-specific settings.py just like Django debug toolbar, to avoid adding a dependency to production ;)
Aight, I was just asking because we hit some tiny road bumps with runserver_plus long ago, but it might be worth using it again to shorten debugging time.