Last active
December 10, 2015 21:39
-
-
Save oeeckhoutte/4496840 to your computer and use it in GitHub Desktop.
[Node] debug header when lazy for node
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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