Plain and simple, you print stuff to see what’s going on.
Jump right into Python’s REPL by typing python in your command line.
python
Let’s break down using pdb, Python’s built-in debugger.
pdb
Python comes with a built-in module for writing tests called unittest.
unittest