debug icon indicating copy to clipboard operation
debug copied to clipboard

Cannot turn on debug within a sourceless page

Open SamBroner opened this issue 5 years ago • 1 comments

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?

SamBroner avatar Jan 24 '20 19:01 SamBroner

https://github.com/visionmedia/debug#set-dynamically

Does that work?

Qix- avatar Jan 25 '20 06:01 Qix-