Issue
How to do a set up that when I call breakpoint()
, IPython shell is invoked instead pdb?
Currently, Python uses pdb, which has no completion.
Solution
It's done through setting the sys.breakpointhook
, which is called when you set a breakpoint()
:
import sys
import IPython
sys.breakpointhook = IPython.embed
Answered By - kolypto
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.