Add support for IPython debugger to breakpoint
Merged
KI
2mo ago+39+39+01234567890123456789-5-5-0123456789
I think this tool is very handy and concise, beforehand I used to paste from IPython import embed; embed(colors='neutral') for debugging purposes.
Python 3.7 introduced the built-in function breakpoint() via PEP 553. I read the Debug implementation and noticed that devtools' debug.breakpoint() and built-in breakpoint() produce the same output and behavior.
In order to avoid this redundancy and to enhance the debug.breakpoint() method, I got an idea to add support for IPython debugger. This way we have syntax highlighting (closer to prettier print output), tab completion, etc., keeping the same interface as pdb.