Yes, we can use the Python debugger (PDB) to debug any Python program. And if we start a program using pdb, then it let us even step through the code.