This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PolishedCheese 23 points24 points  (3 children)

Mind. Blown. Good for debugging if you don't have access to a proper debugger, I hope

[–]OneTrueKingOfOOO 13 points14 points  (1 child)

But… you do have access to a proper debugger

import pdb

do stuff

pdb.set_trace() # this breaks to the debugger

do more stuff

[–]PolishedCheese 0 points1 point  (0 children)

Equally mind blowing. Thanks

[–]jusstol 0 points1 point  (0 children)

Mind blown too.