gotcha / ipdb

Integration of IPython pdb
BSD 3-Clause "New" or "Revised" License
1.85k stars 146 forks source link

IPython config file (`ipython_config.py`) is not used by ipdb #276

Open maciejzj opened 10 months ago

maciejzj commented 10 months ago

Hi, I use both ipython as my main python shell and ipdb as my debugger. I have some ipython setup code in ipython config. In my case, I use it via setting env variable export IPYTHONDIR=/Users/maciej/.config/ipython. However, this configuration doesn't affect the ipython inside ipdb. Is this behaviour intended? Is there any way to setup ipython options inside ipdb?

I am talking about ipython configuration described here: https://ipython.readthedocs.io/en/stable/config/intro.html

In my case, I setup come keybindings inside my config, I would love to have them in ipdb too.

gotcha commented 9 months ago

Your request makes sense.

Any PR is welcome. Including breaking 2.7 support.