Since 2.3.1/2.3.2 localStorage "debug" is removed every time (wrong Electron check)
See original GitHub issueAfter upgrading my debug
dependency from 2.3.0 to 2.3.2 nothing works again.
My index.html runs the following code before running any JS library:
<script>
localStorage.setItem('debug', '*');
</script>
<!-- Load JS libs now -->
It has worked with any previous version of the debug library. Now it doesn’t and nothing it logged.
In fact, once the the JS library (which includes the debug
dependency) is loaded, localStorage.getItem('debug')
returns false.
This is critical.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Issues - GitHub
Since 2.3.1/2.3.2 localStorage "debug" is removed every time (wrong ... If Electron checks are needed do it, but don't break other valid ...
Read more >Local storage data getting deleted… | Apple Developer Forums
But the stored key itself is deleted once we kill or destroyed the app from background task in iOS 13 device (iPad)and check...
Read more >Logging and debugging - Socket.IO
The basic idea is that each module used by Socket.IO provides different debugging ... JS) or the localStorage.debug property (Browsers).
Read more >View and edit local storage - Chrome Developers
This guide shows you how to use Chrome DevTools to view, edit, and delete localStorage key-value pairs. # View localStorage keys and ...
Read more >Where an electron application's sessionStorage and ...
It's stored in the AppData folder, which you can find by looking at the value of require('electron').app.getPath('userData') .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
2.3.3 published
Any word on getting this fix into a new version ?