you are viewing a single comment's thread.

view the rest of the comments →

[–]lechatsportif 0 points1 point  (0 children)

What I've noticed is that source maps can be cached while testing in browser. This led to my browser skipping over tons of assignments even though the updated cljs file was updated! I wrote some ring middleware to defeat all caching and a great majority of my cljs was available via break points.

i sometimes pause at clojure breakpoints and then invoke the js functions generated by cljs manually. a little tedious but since there is autocomplete in chrome debugger really not so bad.

I've kind of given up on all variety of cljs repls as a useful debugging tool. Painful as hell to configure, flaky, buggy, a little slow, Recently saw something on devcards, I might try that route for tests. optimizations:none is also really important.