Always used ipdb.set_trace()
to instruct my code to stop at desired breakpoint:
I already know about breakpoint()
but used a sortcut(F8
) in my .vimrc
[1] to add the above code.
Today I decide to give breakpoint()
a try.
It start a pdb
debug session.
I whould like to user ipdb
on my debug sessions.
Just set the following environment variable:
Now it start an ipdb
debug session.
[1] https://github.com/wiliamsouza/dot/blob/master/.vimrc#L105