Python Traceback (Error Message) Printing Variables.
copied from cf-staging / traceback-with-variablesVery simple to use, but versatile when needed. Try for debug and keep for production.Adds variables to python traceback. Simple, lightweight, controllable. Debug reasons of exceptions by logging or pretty printing colorful variable contexts for each frame in a stacktrace, showing every value. Dump locals environments after errors to console, files, and loggers.