Here’s a list of resources to get started with the Python debugger:
- Read Steve Ferb’s article “Debugging in Python”
- Watch Eric Holscher’s screencast “Using pdb, the Python Debugger”
- Read the Python documentation for pdb — The Python Debugger
- Read Chapter 9—When You Don’t Even Know What to Log: Using Debuggers—of Karen Tracey’s Django 1.1 Testing and Debugging.