3 ms·
FYI you can do import pdb; pdb.set_trace() It pulls up console debugger and is a standard python package.
by marcell 7y ago
FYI you can do
import pdb; pdb.set_trace()
It pulls up console debugger and is a standard python package.
- scwoodal 7y agoThe visual of the entire traceback in the browser and the ability to drop into an interactive shell within a specific frame is (for me) a way better experience than pdb.
- AtHeartEngineer 7y agoWith python 3.7 you can just do 'breakpoint()' now, and it'll import pdb and run settrace. It also allows you to use other debuggers, pretty cool.