- Re-frisk Visualize re-frame pattern data or reagent ratom data as a tree structure, watch re-frame events and export state in the debugger
- Dirac A Chrome DevTools fork for ClojureScript developers
- BinaryAge custom formatters for ClojureScript
- See the event serie as well as the (latest) app-db state.
- Watch handler contexts when debugging
- If the app-db contains serialisable values only you can also import or export it (easily replay an unexpected behaviour).
- Get a repl in your browser so you can test expression or functions easily.
- Live code your ui: go in the namespace of the view to edit, redefine a function, call it again to see the result.
- Debugger: pause the world, get all bindings of the current scope, craft your function by manipulate data in situ.
- Seamlessly switch between js console and ClojureScript repl.
- Copy ~/.lein/profiles.clj
- Copy ~/.lein/custom-ns/piotr-yuxuan/this-project.clj
- Copy ~/.lein/custom-ns/piotr-yuxuan/this-project.cljs
mkdir /Users/piotr-yuxuan/.chrome-user-data-dir
- Install Chrome Canary
- Launch it just once with custom profile and install Dirac extension:
cd /Users/piotr-yuxuan/.chrome-user-data-dir && /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --no-first-run --user-data-dir=.
lein with-profile piotr-yuxuan-this-project run -m piotr-yuxuan.this-project
- server
localhost
- port
8230
(default for Dirac) - Launch external tool dev browser (defined next)
Settings:
- Description Google Chrome Canary with Dirac embedded
- Google Chrome Canary
mkdir /Users/piotr-yuxuan/.chrome-user-data-dir
(wherever you want)- Program
sh
- Parameter bkg-canary.sh http://localhost:3000/some-url
- Working directory
/Users/piotr-yuxuan/.chrome-user-data-dir
echo "/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --remote-debugging-port=9222 --no-first-run --user-data-dir=. $@ &" > /Users/piotr-yuxuan/.chrome-user-data-dir/bkg-canary.sh
BinaryAge :-) flexsurfer :-)