0.1.0 • Published 8 years ago
cdebug v0.1.0
cdebug
Conditional debugging in code... a nice, terse solution
This is just a wrapper around debugger
.
Installation
npm install cdebug
Usage
let myVar = 1;
// conditional breakpoint
cdebug(myVar === 1); // breakpoint hit
myVar = 2;
cdebug(myVar === 1); // breakpoint not hit
0.1.0
8 years ago