https://docs.python.org/3/library/pdb.html
python -m pdb <script_name>
b <line_bumber>
c
q
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
pdb .py
(Pdb) p dir()
https://docs.python.org/3/library/pdb.html
python -m pdb <script_name>
b <line_bumber>
c
q
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
pdb .py
(Pdb) p dir()