menu
you can debug any Python app (>3.7 version) by adding the method breakpoint()  to any line.

Here the actions you can use:
h: help
w: where
n: next
s: step (steps into function)
c: continue
p: print
l: list
q: quit

Source: https://www.youtube.com/watch?v=aZJnGOwzHtU&ab_channel=PatrickLoeber