ID EN
Sys

breakpointhook

Python 3.11

This hook function is called by built-in breakpoint(). By default, it drops you into the pdb debugger, but it can be set to any other function so that you can choose which debugger gets used.

Syntax

PYTHON
sys.breakpointhook()

See Also

breakpoint() pdb PYTHONBREAKPOINT breakpoint() PYTHONBREAKPOINT RuntimeWarning PYTHONBREAKPOINT