asottile / Future Breakpoint
Licence: mit
A backport of `breakpoint` to python<3.7.
Stars: ✭ 43
Programming Languages
python
139335 projects - #7 most used programming language
future-breakpoint
A backport of breakpoint
to python<3.7.
install
pip install future-breakpoint
supported versions
python3+, (noop on python3.7+)
usage
Once installed, you should be able to use breakpoint()
in the same way as in
python3.7+.
def rand():
breakpoint() # no need for `import pdb; pdb.set_trace()`
return 4
See PEP 553 for full usage!
how though?
- a C extension which implements the PEP
- a
.pth
file executed on startup (see setup.py) patchessys
/builtins
you may also like
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].