Skip to content

Instantly share code, notes, and snippets.

@oeeckhoutte
Last active December 10, 2015 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oeeckhoutte/4496840 to your computer and use it in GitHub Desktop.
Save oeeckhoutte/4496840 to your computer and use it in GitHub Desktop.
[Node] debug header when lazy for node
var util = require('util'); //Used to debug - inspect cmd
d = function(debugString) {
console.log(util.inspect(debugString, true, 2, true));
};
t = function(traceString) {
console.log('---> ' + traceString);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment