-
Notifications
You must be signed in to change notification settings - Fork 940
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
How can I use debug in the browser with AngularJS and Bower? #210
Comments
when in non-commonjs env, it's exposed as |
plunkr here http://plnkr.co/edit/C4PcSxUhLKywBzuKUqLu?p=preview wow, this should be in the Readme.md |
Thank you @nmccready |
If you do not have CommonJS loaded is there anyway to not override window.debug? I am looking for options to not browserify my lib. |
@nmccready Thank you. |
Hello,
Is there a tutorial on how to use it in the browser with AngularJS?
window.myDebug = require("debug");
does not work for me since I do not use the npm package management in the browser, I use bower for that.I managed to make it work fine in the nodejs backend.
Thank you!
The text was updated successfully, but these errors were encountered: