T
35

Shoutout to the old way I used to debug code with print statements everywhere

I used to litter my Python scripts with like 50 print("here") lines to figure out where stuff broke. Last week I finally learned how to use pdb properly after watching a 10 min YouTube video. Now I just set breakpoints and step through the code line by line it feels like magic. Has anyone else had that moment where a basic tool suddenly clicks and makes everything easier?
1 comments

Log in to join the discussion

Log In
1 Comment
west.claire
Oh man, that moment when pdb finally clicks is such a game changer!
1