https://docs.python.org/3/library/pdb.html Standalone pdb Calling a pdb in the start of the script python -m pdb <script_name> Setting a break point b <line_bumber> Continue the execution of the script until it reaches the break point c Quit from debug and stop the script q Set debug break point into the script import pdb ... pdb.set_trace() # This should be placed where you want to stop for debuging python .py # This is the call of the script Call the interactive debug without debug placed into the script pdb .py Commands Print all the object properties (Pdb) p dir()