Attach a clojure / scala repl to a running JVM

前端 未结 4 781
花落未央
花落未央 2021-01-31 09:54

I have a java web application running under tomcat in a Sun java 6 JVM. Is there a way to attach a scala or clojure REPL to the running JVM ?

Once the webapp is up and

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-31 10:02

    Copied over the answer from the other question as per your request:

    liverepl: Connect a Clojure REPL to running Java or Clojure processes without any special setup

    From the website: Start a Clojure REPL connected to any running Java or Clojure process without needing the process to be setup in any special way beforehand. Now supports connecting to Tomcat web applications. You can use the repl to run code, inspect variables, and redefine Clojure functions.

    https://github.com/djpowell/liverepl

提交回复
热议问题