Step-by-step debugging with IPython

后端 未结 15 2238
隐瞒了意图╮
隐瞒了意图╮ 2020-12-02 03:43

From what I have read, there are two ways to debug code in Python:

  • With a traditional debugger such as pdb or ipdb. This supports c

15条回答
  •  南笙
    南笙 (楼主)
    2020-12-02 04:07

    Running from inside Emacs' IPython-shell and breakpoint set via pdb.set_trace() should work.

    Checked with python-mode.el, M-x ipython RET etc.

提交回复
热议问题