Set an explicit hook from the environment.
Section: Starting the Debugger
Route breakpoint() to pdb.set_trace
bash
bash
PYTHONBREAKPOINT=pdb.set_trace python app.pyLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Starting the Debugger