- Better presentation of ClojureScript values in Chrome DevTools
- [optional] More informative exceptions (sanity hints)
Read more in v0.4.0 release notes.
Add devtools dependency into your Leiningen's project.clj:
To activate it. At some point you have to call install! from devtools.core namespace. Ideally run this at launch time of your app.
(ns your-project.core
(:require [devtools.core :as devtools]))
(devtools/set-pref! :install-sanity-hints true) ; this is optional
(devtools/install!)
(.log js/console (range 200))See the sample project.
(Available in Chrome 47 and higher)
- Open DevTools
- Go to Settings ("three dots" icon in the upper right corner of DevTools > Menu > Settings
F1> Console) - Check-in "Enable custom formatters"
- Close DevTools
- Open DevTools
- A Figwheel user? Check out how to integrate cljs-devtools with Figwheel REPL


