GitHub - andy-landy/traceback_with_variables: 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.
5.1. Using Error Messages — Hands-on Python Tutorial for Python 3