When debugging with ipdb, I find it useful to enter in sticky mode to follow the code source. Is there a way to enter automatically in sticky mode without having to type sticky?
When debugging with ipdb, I find it useful to enter in sticky mode to follow the code source. Is there a way to enter automatically in sticky mode without having to type sticky?
Yes, from the REAMDE: put a file named .pdbrc.py in your home directory, containing:
import pdb
class Config(pdb.DefaultConfig):
sticky_by_default = True