README
bug
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.
a 1551014945604
Press "c" key to continue execution.
b 1551014947020
Press "c" key to continue execution.
c 1551014949337