PySnooper lets you print values except instead of carefully crafting the right print lines, you just add one decorator line to the function you're interested in. You'll get a play-by-play log of your function, including which lines ran and when, and exactly when local variables were changed.
What's the difference between this Python project and similar ones?
Just slap the decorator on, as shown below, and redirect the output to a dedicated log file by specifying its path as the first argument.
--
Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/vinta/awesome-python/pull/1340
**Author:** [@stanleyuan](https://github.com/stanleyuan)
**Created:** 8/30/2019
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `add_pysnooper`
---
### 📝 Commits (2)
- [`c7fbd64`](https://github.com/vinta/awesome-python/commit/c7fbd64fc816cd7beed265ce41a0dc7d51fa1c93) Add PySnooper for debugging
- [`ea7073a`](https://github.com/vinta/awesome-python/commit/ea7073afb59eb7b1d1320b6a35ab98e174d54c0c) Apply suggestions from code review
### 📊 Changes
**1 file changed** (+1 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+1 -0)
</details>
### 📄 Description
## What is this Python project?
PySnooper lets you print values except instead of carefully crafting the right print lines, you just add one decorator line to the function you're interested in. You'll get a play-by-play log of your function, including which lines ran and when, and exactly when local variables were changed.
## What's the difference between this Python project and similar ones?
Just slap the decorator on, as shown below, and redirect the output to a dedicated log file by specifying its path as the first argument.
--
Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1340
Author: @stanleyuan
Created: 8/30/2019
Status: ❌ Closed
Base:
master← Head:add_pysnooper📝 Commits (2)
c7fbd64Add PySnooper for debuggingea7073aApply suggestions from code review📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
What is this Python project?
PySnooper lets you print values except instead of carefully crafting the right print lines, you just add one decorator line to the function you're interested in. You'll get a play-by-play log of your function, including which lines ran and when, and exactly when local variables were changed.
What's the difference between this Python project and similar ones?
Just slap the decorator on, as shown below, and redirect the output to a dedicated log file by specifying its path as the first argument.
--
Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.