kavun / deb.js

Minimalistic JavaScript library for debugging in the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deb.js

1.5K minimalistic JavaScript library for debugging in the browser

Usage

Add deb.min.js at the top of your page. Before every other script file.

<script src="deb.min.js"></script>

Add .deb() After the definition if your functions.

var calculateSomething = function(cb) {
	// ...
}.deb();

Open your console. You should see something like that:

deb.js

Build

  1. npm install uglify-js -g
  2. sh ./build.sh

About

Minimalistic JavaScript library for debugging in the browser

License:MIT License