cljs-devtools icon indicating copy to clipboard operation
cljs-devtools copied to clipboard

support for logging Clojure data structures

Open darwin opened this issue 10 years ago • 2 comments

We could specify a structured format and a wire protocol for printing/expanding Clojure data structures in a similar way how cljs-devtools work for ClojureScript.

cljs-devtools could then connect to a backend library via websocket and act as a rich logging console for Clojure projects. With support from Dirac DevTools we could turn Chrome's DevTools into a nice REPL + logger for Clojure (not only for ClojureScript).

I personally do most of my work on client-side, so it is unlikely for me to spend time on it at this point. But I would be happy to help someone else who would be interested in implementing it to integrate it (I would do the JavaScript part on front-end).

darwin avatar Jan 24 '16 15:01 darwin

Yeah, this is something I had in mind but much more powerful: https://www.youtube.com/watch?v=c52QhiXsmyI

darwin avatar Nov 29 '18 21:11 darwin

See this interesting development in shadow-cljs land: https://clojureverse.org/t/introducing-shadow-cljs-inspect/5012

darwin avatar Oct 24 '19 16:10 darwin