Fork me on GitHub

I'm sorry I can't be more helpful in this case, but this is one of the reasons we started work on kaocha-cljs2 and funnel, with kaocha-cljs it's super hard to debug stuff, since it's all completely opaque. It doesn't help that the node repl-env launches node and effectively throws away its stdout/stderr. It loads some code to redirect stdout/stderr over a network socket (IIRC, not sure if it's using a websocket or something else), but if anything goes wrong there and node prints out an error message and exits, you never get to see that.