Commands.app

python -m pdb

Debugging

Python debugger

Examples
Common usage examples

Run script in debugger

python -m pdb script.py
Notes
  • Interactive debugger with breakpoints
  • Use 'n' to step, 'c' to continue, 'q' to quit
Related Commands
You might also find these useful