Settings

Theme

Show HN: Playback – Interactive Programming and Print Debugging Reimagined

github.com

14 points by gnl 3 years ago · 2 comments · 1 min read

Reader

Ladies and gentlemen of a Lisp persuasion, Clojurians and Clojuristas, followers of the paren and everyone else covetously eyeing the greener grass,

I made an open-source thing that I would like to share with you. My elevator pitch is that it'll make you forget all about regular print debugging in 10 minutes straight. The slightly longer pitch is this:

#>(tag'n'trace any Clojure(-Script) form to `tap>` and Portal with automatic last-input function replay on eval, instant re-render and hassle-free insertion of traced data into the REPL)

And before I end up pasting half the README here in bits and pieces, just go and check out the damn thing, will ya. There's a screencast and everything.

https://github.com/gnl/playback

s66erge 3 years ago

Great tool for Clojurescript in shadow-cljs: dead simple and super effective! Love it

  • gnlOP 3 years ago

    Thank you! "Dead simple and super effective" is pretty much exactly what I was going for, so this is great to hear. If you ever find yourself using `pprint` debugging for any other reason than having forgotten that Playback exists, I would consider this a failure on my part and would very much appreciate an open issue or a message on the Clojurians Slack.

Keyboard Shortcuts

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