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

Fallback to localStorage.DEBUG in the browser #987

Closed
lzilioli opened this issue Jan 15, 2025 · 0 comments
Closed

Fallback to localStorage.DEBUG in the browser #987

lzilioli opened this issue Jan 15, 2025 · 0 comments

Comments

@lzilioli
Copy link
Contributor

lzilioli commented Jan 15, 2025

I often get tripped up by the fact that I need to set localStorage.debug but in the node environment its DEBUG (lower versus upper case). It would be a nice enhancement if the debug package in the browser checked localStorage.debug || localStorage.DEBUG, if it did, it would save me an (embarrassing) amount of time.

lzilioli added a commit to lzilioli/debug that referenced this issue Jan 15, 2025

Verified

This commit was signed with the committer’s verified signature.
lzilioli Luke Zilioli
…ined
@Qix- Qix- closed this as completed in bf2f574 Mar 23, 2025
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

1 participant