pdb is a built in module in Python that helps us with debugging.
pdb
import pdb def add(a, b): pdb.set_trace() return a + b add(4, 'str')copy
import pdb def add(a, b): pdb.set_trace() return a + b add(4, 'str')