Установить breakpoint в коде python

Встроенный breakpoint() аналог import pdb; pdb.set_trace()

breakpoint() # Python 3.7+ — drops into pdb at this line
more python all 15 commands →