0.0.3 • Published 11 years ago
cli-debug v0.0.3
cli-debug
cli-debug
- very simple wrap of console.log
, use it for simple debuging your node applications. It shows line number, file path and function name where it calls.
Install it with:
npm install -g cli-debug
It's easy to use, like standard console.log
:
dbg.output('Some numbers %d %d %d', 1, 2, 3, 1.1);
Returns:
[ /home/user/cli-debug/index.js : dbg.output ] 39 line: Some numbers 1 2 3 1.1