-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No any output while using debug #223
Comments
you have to set an env var when you run your app DEBUG="*" node app.js read the docs for more info on namespacing. |
This also occurred in my project too. But I cannot see any logging in my console |
maybe the colon throws off the regex? have you tried other ways? |
Thank you for your quick reply. |
Figured it out! I needed to run this : localStorage.debug="app:*" on the browser in order to work properly. Thanks again for your interest! |
/ping @TooTallNate This is another closable issue ✅ |
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?
The text was updated successfully, but these errors were encountered: