debug
debug copied to clipboard
Cannot turn on debug within a sourceless page
Fairly specific use case here. I believe it applies to sourceless iframes and puppeteer users.
As a puppeteer user, I'm creating a Window from html without going to a URL. Within this Window, I cannot access localstorage because accessing localstorage on a Window with origin of about:blank causes a security error.
Is there a way to dynamically turn on debug without accessing localstorage values?
https://github.com/visionmedia/debug#set-dynamically
Does that work?