andy-landy/traceback_with_variables
Adds variables to python traceback. Simple, lightweight, controllable. Customize formats and colors. 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. Works in Jupyter too.
149 best points · 27 comments · 1 Hacker News post · 700 GitHub stars · View on GitHub
Hacker News discussions
- Add variables to Python traceback (149 points, 27 comments, by untech, 2020-11-27)