Skip to content

Commit bc5747d

Browse files
emilaasapracticalli-johnny
authored andcommitted
alias: add a lib/clojurestorm alias
This is the newest and simplest way of using FlowStorm. It requires you to swap your official Clojure compiler by ClojureStorm only at dev time. https://flow-storm.github.io/flow-storm-debugger/user_guide.html#_clojurestorm
1 parent 2701823 commit bc5747d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
** Added
55
- dev: add `deps-deprecated.edn` to cljstyle `:ignore` rule
66
- dev: add `CHANGELOG.org` to Git ignore inclusive patterns
7+
- alias: add `:lib/clojurestorm` to run Flowstorm debugger with ClojureStorm compiler
78

89
** Updated
910
- Update library versions using `make outdated`

deps.edn

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,17 @@
506506
:lib/flowstorm
507507
{:extra-deps {com.github.flow-storm/flow-storm-dbg {:mvn/version "3.15.5"}}}
508508

509+
;; This is the simplest way to use FlowStorm.
510+
;; It replaces the Clojure compiler with a patched one that instruments everything.
511+
;; https://flow-storm.github.io/flow-storm-debugger/user_guide.html#_clojurestorm
512+
:lib/clojurestorm
513+
{:classpath-overrides {org.clojure/clojure nil}
514+
:extra-deps {com.github.flow-storm/clojure {:mvn/version "1.11.3-1"}
515+
com.github.flow-storm/flow-storm-dbg {:mvn/version "3.15.5"}}
516+
;; You can optionally add another jvm-opt to restrict the instrumentation:
517+
;; -Dclojure.storm.instrumentOnlyPrefixes=YOUR_INSTRUMENTATION_STRING"
518+
:jvm-opts ["-Dclojure.storm.instrumentEnable=true"]}
519+
509520
;; End of Debug Tools
510521
;; ---------------------------------------------------
511522

0 commit comments

Comments
 (0)