I just installed and required debug in my project;
var debug = require('debug')('http');
and if i do debug('testing')
then no any output is done
but if i console.log(debug)
i see this message
{ [Function: disabled] enabled: false, namespace: 'http' }
where i am going wrong?
I just installed and required debug in my project;
var debug = require('debug')('http');
and if i do debug('testing')
then no any output is done
but if i console.log(debug)
i see this message
{ [Function: disabled] enabled: false, namespace: 'http' }
where i am going wrong?