Show HN: Python decorator to log local variables with each line of code run

  • What advantage does this have over a debugger?

    (To be fair, in my experience, lots of python users have no idea what a debugger is...)

  • This looks pretty cool. I think this would be faster than using a debugger when doing leetcode / timed puzzles

  • nice, I do something similar with my tests to print out certain vars only when a test fails in order to get more context.

  • WIP: suggestions most welcome.