Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
marcell
· 7y ago · 0 comments
FYI you can do
import pdb; pdb.set_trace()
It pulls up console debugger and is a standard python package.
Comments
[–]
AtHeartEngineer
7y ago
With 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.
[–]
scwoodal
7y ago
The 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.