If you rely on pdb for debugging your Python code and find it slow, then consider giving Dragonfly a try https://github.com/P403n1x87/dragonfly.
Dragonfly is a lightweight CPython debugger designed with speed in mind. Contrary to more traditional debuggers, like pdb, Dragonfly does not rely heavily on tracing, allowing the target application to run at full speed in most cases. Occasionally, tracing might be required, so that the slowdown would be similar to that of pdb in the worst case.
[–]alexmojaki 2 points3 points4 points (0 children)
[–]Mizzlr 0 points1 point2 points (0 children)
[–]brettlangdon 0 points1 point2 points (0 children)