CodeBrowser / github / cool-RR/PySnooper
cool-RR/PySnooper
# Never use print for debugging again
$ git clone https://github.com/cool-RR/PySnooper.git
stars
16,581
forks
960
language
Python
license
MIT License
What is cool-RR/PySnooper?
PySnooper is a debugging library that automatically logs variable assignments and changes throughout your code execution, providing detailed insights into program flow without manual print statements. Instead of adding debug prints or using a traditional debugger, you can simply decorate functions with PySnooper to see exactly what's happening at each line of code. It's useful for understanding complex logic, tracking down bugs in production-like environments, or learning how unfamiliar code works.
Topics
#debug #debugger #introspection #logging #python
Activity
32 open issues · last updated Jul 21, 2026