Search code examples
clojurebreakpointsclojurescript

clojurescript breakpoints


Is there any way to create breakpoints in clojurescript? Either in the repl or in chromes native debugger.

I've tried (js* "debugger") and this returns

SyntaxError: Unexpected token debugger

Thanks!


Solution

  • (js* "debugger;") should work. You're just missing the semicolon.