Skip to content
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

enabling debug with browserify #114

Closed
yoshuawuyts opened this issue Jun 10, 2014 · 2 comments
Closed

enabling debug with browserify #114

yoshuawuyts opened this issue Jun 10, 2014 · 2 comments

Comments

@yoshuawuyts
Copy link

Looking at the issues it should be possible, but debug.enable() is not available when using browserify. How can I enable debug in the browser?

@TooTallNate
Copy link
Contributor

This should do the trick:

localStorage.debug = '*'

(note that you'll have to refresh the page after setting that value)

@yoshuawuyts
Copy link
Author

Awesome, that did the trick! Maybe something to add to the docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants