inspectable icon indicating copy to clipboard operation
inspectable copied to clipboard

Instructions to use inspectable in Figwheel REPL

Open bhb opened this issue 8 years ago • 1 comments

Most of my Clojurescript development is at a Figwheel REPL. Is it possible to use Inspectable in a Figwheel REPL? If so, would you consider adding instructions on how to do it? I suspect many CLJS devs are in a similar situation.

bhb avatar Aug 07 '17 21:08 bhb

If by using inspectable in a figwheel repl you mean installing it so it catches spec exceptions and automatically calls why on it's explan-data it's not implemented yet. But calling why or browse-spec at any cljs repl should work.

Currently inspectable.cljs_repl/repl-caught throws a "not implemented" exception.

I'll try to figure out if figwheel repl currently supports starting it with a custom :caught exception handler fn and finish repl-caught implementation.

Any ideas are welcome!

jpmonettas avatar Aug 07 '17 23:08 jpmonettas