Which leads me to another question ... how can I debug these things? $ echo 'hello' | python3 -m pdb ~/my-input.py > /home/jason/my-input.py(2)<module>() -> import sys (Pdb) *** NameError: name 'hello' is not defined