Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Chrome Devtools extensions for ClojureScript developers (experimental)

License

Notifications You must be signed in to change notification settings

forgeglobal/cljs-devtools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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))

Note: version 0.2.2 is compatible with Chromium built against Blink r194327 or higher.

You can see Blink version which was compiled in your Chrome under chrome://version (url).

Enable Custom formatters in your Chrome (Canary)

For now you must use Chrome Canary or bleeding edge build from chromium-browser-snapshots.

First, enable Dev Tools Experiments:
  • Visit chrome://flags
  • Search the page for "devtools".
  • Click "Enable" under "Enable Developer Tools Experiments"
  • Click "Relaunch Now"
Then turn on custom formatters:
  • Open Dev Tools.
  • Click the gear in the upper right to go to Settings.
  • Click the "Experiments" tab.
  • Press the shift key six times to show the "hidden experiments".
  • Check "Custom Object Formatters".
  • Close Dev Tools.
  • Open Dev Tools.
  • Click the gear to open settings again.
  • Under "Console", check "Enable custom formatters".

License MIT

About

Chrome Devtools extensions for ClojureScript developers (experimental)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 64.5%
  • Clojure 35.2%
  • HTML 0.3%