using ipdb for debugging python inside emacs

2019-05-07 07:57发布

问题:

import pdb; pdb.set_trace() works fine when I run M-x pdb
python manage.py runserver

However import ipdb would cause the above statement to hang indefinately..

I hear great things about ipdb, how do I use it under emacs?

  • Edit

Just found out django has nothing to do with it, simple python file hangs as well.