DEV Community 👩‍💻👨‍💻

Discussion on: Debugging By Displaying Info

Collapse
aspittel profile image
Ali Spittel

Print statements are awesome for debugging! I would also try import pdb; pdb.set_trace()
in Python as well to set breakpoints! It will bring up a REPL at the point where you are having unexpected results so you can play around and work on fixing it!

Collapse
deannaswallow profile image
Deanna Swallow Author

Getting back to Python is on my to-do list. When I get there, I will absolutely do this! Thanks for the heads up!