Say, my script runs on server and has failed at some moment of time.
Except for the error messages in the logs - I would like to have some image file on server side - representing the state of python process in the moment of failure.
I would be able then to move it to my local machine, load into debugger, examine the call stack and what data in what function did really cause the exception.
Is there a way to do that?