How to debug in Django, the good way
http://stackoverflow.com/questions/1118183/how-to-debug-in-django-the-good-way
pdb or ipdb
ref:
ipdb: Interactive Python Debugger with IPython
https://vinta.ws/code/ipdb-interactive-python-debugger-with-ipython.html
django-pdb
ref:
https://github.com/tomchristie/django-pdb
Templatetags
ref:
http://stackoverflow.com/questions/1118183/how-to-debug-in-django-the-good-way
django-extensions
ref:
https://github.com/django-extensions/django-extensions
django-devserver
上面這兩個 plugins 都是用 Werkzeug 的 interactive debugger
跟 Flask 用的那個一樣
你可以直接在瀏覽器的 Traceback 畫面按那個 terminal 圖示進入互動 debug 模式
ref:
https://github.com/dcramer/django-devserver
django-debug-toolbar
ref:
https://github.com/django-debug-toolbar/django-debug-toolbar