Skip to content

99plus2/cljs-devtools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

133 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cljs-devtools

DANGER ZONE - WORK IN PROGRESS - EXPERIMENTAL APIs

Build Status

Better presentation of ClojureScript values in Chrome Devtools:

Integration in your own project

Add devtools dependency into your Leiningen's project.clj:

Clojars Project

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/install!)

(.log js/console (range 200))

Enable Custom formatters in your Chrome (Canary)

For now you must use Chrome Canary (worked in 48.0.2537.0 canary (64-bit) under Mac).

Turn on custom formatters:
  • Open DevTools.
  • Go to Settings: (Click "three dots" menu in upper right corner of DevTools > Menu > Settings F1)
  • Check "Enable custom formatters".
  • Close Dev Tools.
  • Open Dev Tools.

License MIT

About

Chrome Devtools extensions for ClojureScript developers (experimental)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 61.5%
  • Clojure 38.2%
  • HTML 0.3%