I want to log everything:
- Function entered + values of parameters + function exited
- Result of every assignment or operation
- etc.
Is it possible to log "everything" in a Python execution without instrumenting the code?
Since things are executing in a VM, it should be possible to configure this at the VM level (hopefully?).
I'm using Pycharm but I could do it via commandline it it's necessary.
There's this existing question: How to do logging at function entry, inside and exit in Python but it doesn't address how to log the result of variable assignments.