Fork me on GitHub

Hi 🙂 I have a setup issue that I’d appreciate some help on I’m using spacemacs and connecting via cider-connect-clj to an nrepl running inside a docker image. I see this message when trying to debug a defn at point:

clojure.lang.LispReader$ReaderException: java.lang.RuntimeException: No reader function for tag dbg
I also see these warnings
WARNING: CIDER requires cider-nrepl to be fully functional. Some features will not be available without it! (More information)
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.5.0 (package: 20210101.1036) and n/a, respectively.
I don’t see refactor-nrepl as a choice when I ask Spacemacs to install it as package Here’s the command from my docker-compose.yml file for launching my program
command: bash -c "/usr/local/bin/lein repl :headless :host :port 8008"
My ~/.lein/profiles.clj has this:
{:user {:plugins [[cider/cider-nrepl "0.25.2"]]
        :dependencies [[nrepl "0.8.3"]]}
 :repl {:plugins [[cider/cider-nrepl "0.25.2"]
                  [nrepl "0.8.3"]
                  [refactor-nrepl "2.5.0"]]}}
My emacs and lein versions
GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109)) of 2019-09-02
Leiningen 2.9.1 on Java 1.8.0_221 Java HotSpot(TM) 64-Bit Server VM
My project.clj has this at :profiles/:repl/:dependencies
[org.clojure/tools.namespace "0.2.11"]
[nrepl "0.8.3"]
here are my data readers in the repl:
{sql/call #'honeysql.types/read-sql-call, sql/raw #'honeysql.types/read-sql-raw, sql/param #'honeysql.types/read-sql-param, sql/array #'honeysql.types/read-sql-array, ordered/set #'flatland.ordered.set/into-ordered-set, ordered/map #'}


I took the dependencies and plugins from my ~/.lein/profiles.clj and stuffed them in the :dependencies and :plugins of my project.clj file and it works now. I’ll just avoid checking them in until I find the proper solution