Pretty Printing Server Socket REPL

Our docs are on GitHub, and all contributions are welcome. Suggest an edit or report a problem.

Edge ships with a pretty printing server socket REPL you can enable in production. It is a dependency of, so will be available automatically in production. See Manual Setup if you’re not using


To use, add this to your server start command:

-Dclojure.server.myrepl='{:port 50505,:accept juxt.edge.server.pretty-repl/repl}'

A complete command may look like so:

java -Dclojure.server.myrepl='{:port 50505,:accept juxt.edge.server.pretty-repl/repl}' -jar app.jar
Note for Capsule JARs

If you’re using a capsule jar, you need to wrap your JVM arguments in -Dcapsule.jvm.args like so:

java -Dcapsule.jvm.args="-Dclojure.server.myrepl='{:port 50505,:accept juxt.edge.server.pretty-repl/repl}'"

Manual Setup

juxt.edge/lib.socket-server {:local/root "../lib.socket-server"}
Last updated 2019-04-24 07:22:14 +0100