Is it possible to use bpython as a full debugger?

后端 未结 2 2073
温柔的废话
温柔的废话 2021-02-18 23:49

I would like to use the bpython interpreter for debugging. My question is similar to \"Is it possible to go into ipython from code?\", which asks about ipython.

If you

2条回答
  •  温柔的废话
    2021-02-19 00:42

    If you are looking for a cooler looking debugger that does completion and syntax highlighting you might want to take a look at pdb++. http://pypi.python.org/pypi/pdbpp/

    enter image description here

    It's a drop in replacement for pdb. So you can continue to use

     import pdb; pdb.set_trace()
    

    and it'll drop you into the pdb++ prompt.

提交回复
热议问题