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

browser: Using chrome.storage.local prevents debugging in chrome extensions #188

Closed
stephenmathieson opened this issue Mar 26, 2015 · 3 comments · Fixed by #190
Closed

Comments

@stephenmathieson
Copy link
Contributor

I've got a handful of chrome extensions using debug. Since a98c283 landed, I haven't been able to use this package.

Thoughts on either reverting commit in question, or providing some mechanism for disabling this behaviour?

/cc @marmolejo

@stephenmathieson
Copy link
Contributor Author

Something is simple (but awkward) as this would do for me:

var debug = require('debug')('my thing');
debug.storage = localStorage;

@chunpu
Copy link

chunpu commented Apr 21, 2015

Why not delete chrome.storage.local thing and just use localStorage! it never work in chrome extension,

@stephenmathieson
Copy link
Contributor Author

+1 to @chunpu's suggestion

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

Successfully merging a pull request may close this issue.

2 participants