How do I find the nrepl port?

104 views
Skip to first unread message

Divyansh Prakash

unread,
May 31, 2015, 10:43:42 AM5/31/15
to clojur...@googlegroups.com
I'm using lein-ring with compojure:

(defproject clojure-foo "0.1.0-SNAPSHOT"
      :description ""
      :url ""
      :dependencies [[org.clojure/clojure "1.6.0"]
                     [compojure "1.1.1"]
                     [ring/ring-json "0.1.2"]
                     [c3p0/c3p0 "0.9.1.2"]
                     [org.clojure/java.jdbc "0.2.3"]
                     [com.h2database/h2 "1.3.168"]
                     [cheshire "4.0.3"]]
      :plugins [[lein-ring "0.7.3"]]
      :ring {:handler clojure-rest.handler/app
             :nrepl {:start? true}}
      :profiles
      {:dev {:dependencies [[ring-mock "0.1.3"]]}})


When I do 

$ lein ring server

It says:

Started server on port 3000

Has the nrepl started? How do I connect to it?
Reply all
Reply to author
Forward
0 new messages