Attach a clojure / scala repl to a running JVM

前端 未结 4 788
花落未央
花落未央 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:17

    You could use this: https://github.com/wirde/swank-inject

    Allows you attach a Clojure repl to a running java process (with remote debugging enabled).

    You are also able to specify a number of classes (singletons) for which instances will be found and bound to a symbol available in the repl.

提交回复
热议问题