mcgraths
12/31/2014 - 12:33 PM

Using Debug library with Node.js

Using Debug library with Node.js

//Debug this by running: DEBUG=nodeapp node debug.js
var debug = require('debug')('nodeapp');
debug("String to be printed when debugging");