Debugging Django - 0 views
-
assert False
-
import pdb; pdb.set_trace()
-
The pdb prompt doubles up as a full Python interactive shell, so you can not only access variables but you can modify them, call functions and generally mess around with the internals of your application as much as you like, while it’s running