npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

bug

1.2.0 • Public • Published

bug

Travis build status Coveralls NPM version Canonical Code Style Twitter Follow

Bug Node.js code.

Disclaimer

This is just an experiment.

In 99.99% of the use cases, you want the native Node.js debugger.

Example usage

import bug from 'bug';
 
console.log('a', Date.now());
 
bug();
 
console.log('b', Date.now());
 
bug();
 
console.log('c', Date.now());
 

In the above example, event cycle does not advance past bug invocation until "c" key is pressed.

1551014945604
Press "c" key to continue execution.
1551014947020
Press "c" key to continue execution.
1551014949337
 

Keywords

install

npm i bug

Downloadsweekly downloads

43

version

1.2.0

license

BSD-3-Clause

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability