|2 points by micah.strube 1 year, 10 months ago | discuss | on: Python Debugging With Pdb|
I use pdb every day. It’s a way more powerful tool for debugging than print statements and logging. Interactive mode for pdb in python 3 is pretty great. It drops you into the full python REPL with access to the current environment at the point you set your pdb trace, or wherever you’ve stepped to in pdb. Way easier than continually adding more print statements and re-executing code til you finally find the key to your problem.