This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-24
Channels
- # adventofcode (2)
- # anglican (1)
- # announcements (4)
- # aws (2)
- # babashka (28)
- # beginners (18)
- # brompton (3)
- # calva (22)
- # clj-kondo (2)
- # cljdoc (29)
- # clojure (41)
- # clojure-europe (28)
- # clojure-gamedev (14)
- # clojure-nl (2)
- # clojure-spec (2)
- # clojure-sweden (1)
- # clojure-uk (6)
- # clojurescript (53)
- # css (3)
- # cursive (6)
- # duct (3)
- # emacs (5)
- # fulcro (29)
- # introduce-yourself (1)
- # liberator (5)
- # lsp (1)
- # malli (11)
- # meander (4)
- # nbb (11)
- # off-topic (17)
- # pathom (2)
- # polylith (8)
- # practicalli (1)
- # react (6)
- # reagent (11)
- # releases (2)
- # rewrite-clj (11)
- # shadow-cljs (59)
- # tools-deps (21)
- # vim (11)
Hello! I'm using doom emacs and recently started to work with clojure, I'm trying to figure it out how to integrate cider in my dev flow, eg: trying to debug code from a unit test. Do you have some article about that, or could you describe how do you do?
Documentation around debugging can be found here: https://docs.cider.mx/cider/debugging/debugger.html
The extra short version is that if you compile a defn with C-u C-c C-c
or C-u C-M-x
(instead of C-c C-c
or C-M-x
), it’ll instrument it, and when you run your tests it’ll break when that function is called
@U8C850K42 example of using cider-debugger with Emacs (its Spacemacs, but it includes the full command, so should be applicable) https://practical.li/spacemacs/debug-clojure/cider-debug.html
I'll take a look at those, thank you!