See also Tracing Python. In that Blog article I talk about how to trace Python program execution comfortably.
We write a basic decorator to log function call parameters and results.
We then use autologging
to achieve the same with less code.
We then demonstrate icecream
, snoop
and birdseye
.
Unfortunately, peepshow
is no longer supported and does not work on Python for Workgroups.