Fork me on GitHub
#nrepl
<
2019-01-24
>
eraserhd17:01:44

OK, passing idea. How could we inject an nREPL server into Chrome for access to dev tools? Not necessarily ClojureScript. But also capturing console errors and warnings not seen with cljs repl?

dominicm17:01:17

You can override console.error/log etc

dominicm17:01:37

But into chrome? I'm not sure what you mean by that

eraserhd18:01:37

I mean evaluate JS in the dev tools window, as well as inspect values.

eraserhd18:01:03

And therefore, evaluate JS from the editor.

mseddon19:01:59

You could use the devtools protocol perhaps to achieve that, but I think you'd need to launch chrome manually, and really it would have little to do with nrepl at that point