Forum Archive

Debugging in Pythonista

userista

I am a newbie when it comes to Python and I was wondering if there's a robust way to debug scripts in Pythonista. I am currently just interspersing print statements throughout my code. Obviously there's got to be a better way (that has breakpoints etc.). What is the debugging strategy/tool of choice for Pythonista pythonistas ;)?

userista

Just for posterity sake and closure for this question, Ole's response via twitter:
first and second.
Basically, the only way currently is using print statements and/or the pdb module (standard library).