3 ms·
Could you please do one that explain how to actually debug in CLJS.
by jbeja 13y ago
Could you please do one that explain how to actually debug in CLJS.
- poppingtonic 13y agoUsing `lein cljsbuild auto` should enable you to see problems in your clojurescript code as soon as you save it, and using the browser's js console enables you to see problems in the compiled/generated js. The stack trace printed out in case of an exception is usually informative enough. I experienced its helpfulness quite recently during my study of OP's example.
- swannodette 13y agoDebugging is a more straight forward now because of source maps, but it still needs a little bit of explaining - will think about it.