Since Python 3.7
import pdb
pdb.set_trace()
can be written as just breakpoint() import pdb
pdb.set_trace()
can be written as just breakpoint()This is, if anything, better. Because that way you can e.g. replace stray `breakpoint()` calls by warnings rather than break production :D