Skip to content

Fallback to localStorage.DEBUG in the browser #987

Closed
@lzilioli

Description

@lzilioli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions