Reputation: 2222
How can the figwheel-sidecar
project be running on my own machine with my Emacs so I can debug into it?
I tried to cider-jack-in
, it works, but how to let the clojurescript project depends on it and let Emacs run the local version of figwheel-sidecar
?
Upvotes: 2
Views: 178
Reputation: 571
Key steps
;; ~/.emacs.el or ~/.emacs.d/init.el
(require 'cider)
(setq cider-cljs-lein-repl
"(do (require 'figwheel-sidecar.repl-api)
(figwheel-sidecar.repl-api/start-figwheel!)
(figwheel-sidecar.repl-api/cljs-repl))")
M-x cider-jack-in-clojurescript [RET]
Upvotes: 1