Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
detaro
on April 22, 2019
|
parent
|
context
|
favorite
| on:
PySnooper: Never use print for debugging again
Seems like a "log to this unix domain socket" option could help for those cases? Or one to open a new file for new PIDs?
cheez
on April 22, 2019
[–]
Could probably do:
@pysnooper.snoop(f"/path/to/file.{os.getpid()}.log")
Something like that
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: