How to debug a Clojure file in IntelliJ?
问题 No breakpoint can be set on line 5, which contains [x] . IntelliJ won't let me do so. I used different plugin, such as La Clojure and Cursive. Both stop at line 3 rather than line 5. So, how people step into the code in Clojure? Is there any syntax suggestion or maybe tool to help with? (defn flattenlist ([x & more] (concat (if (vector? x) (apply flattenlist x) [x] ) (if (= more nil) nil (apply flattenlist more)))) ) (flattenlist [[1 [[2]]] 3 [4 5] 6]) 回答1: First, by convention, all trailing