Python breakpoint() debugging
Python
breakpoint()
abstracts away pdb.set_trace() and allows use of other debuggers.
breakpoint() also works well with Pytest to conditionally break into code.
x=1
y=0
breakpoint()
z = x/ybreakpoint() is immediately clear as to its purpose.
Reference: PEP0553 breakpoint()