Skip to content

Instantly share code, notes, and snippets.

View thilo11's full-sized avatar

Thilo Horstmann thilo11

  • Hamburg
View GitHub Profile
@thilo11
thilo11 / debug.clj
Last active January 3, 2016 13:49 — forked from khinsen/debug.clj
;; Slightly enhanced version of Alex Osborne's debug-repl (http://gist.github.com/252421)
;; Typing () quits the debug REPL, making it possible to continue without terminating the
;; input stream by typing Ctrl-D.
;; Inspired by George Jahad's version: http://georgejahad.com/clojure/debug-repl.html
;; (.setDynamic #'*locals*) added
(ns debug
[:require clojure.main])