Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
25 changes: 24 additions & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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"}}}

Expand Down