import pdb; pdb.set_trace()
is so good!
How often do you #python's pdb debugger?
TIL there’s a built-in function called breakpoint() as of Python 3.7
@ashwinvis ah nice, didn’t know that. “New in 3.7”. I’m old school 👴
@stchris it is now spelled simply `breakpoint()` https://docs.python.org/3.8/library/functions.html#breakpoint
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.