There used to be a cool project called pydump that was designed to save debugs from one place (say production) and then let you investigate them later.
It hasn't been maintained for a while and doesn't support saving non-locally so I thought I'd hack something together.
I have no idea how good an idea actually saving production bugs would be. But this was a fun way to learn about tracebacks.