In Eclipse+Counterclockwise, when I want to connect to REPL, the dialog tells me I can use nREPL over HTTP:
How to set this up? Is this somehow connected to drawbridge? I haven't been able to make these work together, although lein repl :connect http://my.url/repl
worked for me.
For clarity, why this is useful compared to classic REPL: classic REPL works for localhost only. You can bridge it through SSH port tunnelling, but this - REPL over HTTP - is a viable alternative for remote, "live" servers.
Just for completeness, the server side:
- drawbridge - the HTTP transport - https://github.com/cemerick/drawbridge
- how to use it - https://devcenter.heroku.com/articles/debugging-clojure
- example app - https://github.com/technomancy/chortles
lein repl :connect http://lispark/repl
connects, Counterclockwise doesn't. – Secede