#1 Add them directly to you code
import pdb; pdb.set_trace()
# or
import ipdb; ipdb.set_trace()
#2: Set them interactively
python -m pdb hello.py
#1 Add them directly to you code
import pdb; pdb.set_trace()
# or
import ipdb; ipdb.set_trace()
#2: Set them interactively
python -m pdb hello.py