Heykuki News

TopNewBestAskShowJobs
TopNewBestAskShowJobs
Show HN: Print-less debugging of Python code
github.com/elem-app
3 points
kkaatii
a year ago
I got roasted bad on r/Python for posting this toy project so I wanted to see broader responses.

pled is a library that traces your Python program's execution with zero instrumentation code.

Just run your module/function using pled's executor and it will collect runtime data at special tracepoints like function entry, exit, etc. and generate a report in JSON or sequence diagram.

It's like pdb/logging/PySnooper without bothering you to set up and clean up debug code.

1 comment