Show HN: Debugging-Friendly Tracebacks for Python
This prints tracebacks / call stacks with code context and the values of nearby variables. For each frame on the call stack, it grabs the source code to find out which source lines reference which variables. Since this already requires a map of where each variable occurs in the code, it was difficult not to also implement the whole semantic highlighting color thing seen in the screenshots.
Source: github.com