As of 2016 you can use Debux, a simple debugging library for Clojure/Script that works in conjunction with your repl as well as your browser's console. You can sprinkle dbg
(debug) or clog
(console.log) macros in your code and easily observe results of individual functions, etc, printed to your REPL and/or console.
From the project's Readme:
Basic usage
This is a simple example. The macro dbg prints an original form and
pretty-prints the evaluated value on the REPL window. Then it returns
the value without interfering with the code execution.
If you wrap the code with dbg like this,
(* 2 (dbg (+ 10 20))) ; => 60
the following will be printed in the
REPL window.
REPL output:
dbg: (+ 10 20) => 30
Nested dbg
The dbg macro can be nested.
(dbg (* 2 (dbg (+ 10 20)))) ; => 60
REPL output:
`dbg: (+ 10 20) => 30`
dbg: (* 2 (dbg (+ 10 20))) => 60