How can I make nrepl-ritz-jack-in work remotely over TRAMP / Emacs

Solution 1:

If the repl is still running from the previous cider-jack-in, you should either use the cidercommand to connect to the running instance, or stop the previous before starting a new one

From Here `Clojure - connection issue re-running cider-jack-in

Also see this https://devcenter.heroku.com/articles/debugging-clojure