Settings

Theme

Show HN: Print-less debugging of Python code

github.com

3 points by kkaatii a year ago · 1 comment · 1 min read

Reader

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.

luchsio a year ago

Seems useful, havn't yet used it, nor have I used pysnooper, but seems very similar.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection