The Django debugger is import pdb; pdb.set_trace()
.
Sometimes we push the code on the server without remove debugger
from the code.
In this conditions when we request the view (that views contain debugger
) then the page will not load and the browser will hang because of that debugger.
So my Question is.
Can I set a
debugger
time
OR
How can I avoid
debugger
after a few minutes
It's the exception case because we always check in the code but sometimes we missed it by mistake.
How can I achieve this task?
Thanks in advance