top | item 36803438

Show HN: Playback – Interactive Programming and Print Debugging Reimagined

14 points| gnl | 2 years ago |github.com

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

2 comments

order

s66erge|2 years ago

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

gnl|2 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.