PEP 553 – Built-in breakpoint() | peps.python.org
This PEP proposes adding a new built-in function called breakpoint() which enters a Python debugger at the point of the call. Additionally, two new names are added to the sys module to make the choice of which debugger is entered configurable.
Python Enhancement Proposals (PEPs)