Skip to content

Commit

Permalink
docs(logger/readme): correct debug key (#158)
Browse files Browse the repository at this point in the history
## Description

<!-- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->
  • Loading branch information
alimd authored Oct 25, 2024
2 parents d89666d + 8997713 commit 413296e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ greet('Ali');
1. Open your browser's developer tools.
2. Go to the "Application" or "Storage" tab.
3. Find "Local Storage" and locate your application's domain.
4. Add a new key-value pair: `debug` with the value `1`.
4. Add a new key-value pair: `ALWATR_DEBUG` with the value `1`.
5. Reload the page.

Or use the following code snippet in the browser console:

```javascript
window.localStorage?.setItem('debug', '1');
window.localStorage?.setItem('ALWATR_DEBUG', '1');
```
> **Note:** Ensure the browser console's log level is set to include "Verbose" or "All" to see debug messages.
Expand Down

0 comments on commit 413296e

Please sign in to comment.