3 ms·
Assuming you use Python, you might like this library - https://github.com/robdmc/behold https://github.com/robdmc/behold It gives you contextual debugging - so
by joshmarlow 7y ago
Assuming you use Python, you might like this library - https://github.com/robdmc/behold https://github.com/robdmc/behold
It gives you contextual debugging - so you can put fancy prints throughout a function but they are silent unless some context is true. It's useful for when you have a hot path that is executed a lot but you only want debug prints for one of those invocations.