Python: How to debug Python code using “pdb” module

One of the most important feature when you are making a code is “debugging”, whether you are new or even pro, you might need this feature. And how to do it when you are programming in Python without any IDE? you might use Terminal or Command Line in Windows to do so. This video is about How to do it in Windows, anyway it works in Unix environment. I found this video is helpful, hopefully also for you.

If you prefer to read the documentation, you can read it here (http://docs.python.org/2.7/library/pdb.html)