diff --git a/README.md b/README.md index 491012b1..d798422b 100644 --- a/README.md +++ b/README.md @@ -449,6 +449,7 @@ Emacs CIDER has a built in debug tool that requires no dependencies (other than * `:repl/debug-refactor` run basic REPL prompt with sayid, clj-refactor and cider-nrepl middleware * `:repl/rebel-debug` run Rebel rich UI REPL prompt with sayid, and cider-nrepl middleware * `:repl/rebel-debug-refactor` run Rebel rich UI REPL prompt with sayid, clj-refactor and cider-nrepl middleware +* `:repl/rebel-debug-refactor-reloaded` run Rebel rich UI REPL prompt with sayid, clj-refactor and cider-nrepl middleware; plus `dev` path, library hotload, namespace reload, and Portal data [Practicalli Spacemacs - Sayid debug and profile tool](https://practical.li/spacemacs/debug-clojure/sayid-debug/) covers the use of these aliases in more detail diff --git a/deps.edn b/deps.edn index f873b33a..a7ed02c5 100644 --- a/deps.edn +++ b/deps.edn @@ -76,7 +76,7 @@ ;; Development environment ;; Custom REPL startup - ;; A `user` namespace is loaded during REPL startup if found on the class path + ;; A `user` namespace is loaded during REPL startup if found on the class path ;; `:dev` aliases include the `dev` directory on the class path ;; `dev/user.clj` can define tools and code that runs when starting the REPL ;; https://practical.li/clojure/clojure-cli/repl-startup/ @@ -247,6 +247,29 @@ "--interactive" "-f" "rebel-readline.main/-main"]} + :repl/reloaded-debug + {:extra-paths ["dev" "test"] + :extra-deps {nrepl/nrepl {:mvn/version "1.0.0"} + cider/cider-nrepl {:mvn/version "0.31.0"} + com.bhauman/rebel-readline {:mvn/version "0.1.4"} + com.billpiel/sayid {:mvn/version "0.1.0"} + djblue/portal {:mvn/version "0.42.1"} ; portal data inspector + clj-commons/clj-yaml {:mvn/version "1.0.26"} ; portal yaml support (optional) + org.clojure/tools.namespace {:mvn/version "1.4.4"} + org.clojure/tools.trace {:mvn/version "0.7.11"} + org.slf4j/slf4j-nop {:mvn/version "2.0.7"} + com.brunobonacci/mulog {:mvn/version "0.9.0"} + lambdaisland/kaocha {:mvn/version "1.85.1342"} + org.clojure/test.check {:mvn/version "1.1.1"} + refactor-nrepl/refactor-nrepl {:mvn/version "3.6.0"} + ring/ring-mock {:mvn/version "0.4.0"} + criterium/criterium {:mvn/version "0.4.6"}} + :main-opts ["-e" "(apply require clojure.main/repl-requires)" + "--main" "nrepl.cmdline" + "--middleware" "[cider.nrepl/cider-middleware,refactor-nrepl.middleware/wrap-refactor,com.billpiel.sayid.nrepl-middleware/wrap-sayid,portal.nrepl/wrap-portal]" + "--interactive" + "-f" "rebel-readline.main/-main"]} + :lib/rebel {:extra-deps {com.bhauman/rebel-readline {:mvn/version "0.1.4"}}}