cdebug

0.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    1

Package Sidebar

Install

npm i cdebug

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • tstringer