I want to connect to a running REPL on my local machine outside of Visual Studio Code. The terminal output is cleared or truncated depending on the terminal.
Is it possible for me to find the port number that the REPL is running on via a shell command or a Clojure function?
When the nrepl server starts, it generally writes the port number it is using into the file
.nrepl-port
in the project directory. Most tooling (e.g. emacs CIDER orlein repl :connect
) use this file.