Good to know, thanks for raising this.
One of the reasons I've added nREPL support was exactly because lots of time people tried to copy-paste the port that lein / boot gave 😄
But yes, lein will always start nREPL. I remember that, in the past, you could tell it to only start one JVM with lein trampoline repl
, and I believe that nREPL was not started on this mode.
Nowadays, it raises some errors ¯\(ツ)/¯
lein trampoline repl
seems to only work inside a project, so it doesn't address the caveat I gave unfortunately.
(and inside a project, the socket
profile and JVM option are picked up as expected)