3 ms·
I started writing a very-alpha related tool, https://github.com/czinck/pyset_x https://github.com/czinck/pyset_x. As the name implies, it's like `set -x` in bas
by czinck 6y ago
I started writing a very-alpha related tool, https://github.com/czinck/pyset_x https://github.com/czinck/pyset_x. As the name implies, it's like `set -x` in bash, in that it prints every line as it executes. It's more useful for situations where you have some complicated control flow and it's not working exactly how you expect.
- cool-RR 6y agoFunny, a few months back I added this sentence to PySnooper's readme: "PySnooper is a poor man's debugger. If you've used Bash, it's like set -x for Python, except it's fancier." https://github.com/cool-RR/PySnooper https://github.com/cool-RR/PySnooper
- czinck 6y agoI saw someone mention PySnooper elsewhere in this thread, I think if I had known it existed before I probably wouldn't have bothered with `pyset_x`.