Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Cannot turn on debug within a sourceless page

Open
#743 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

No file, test, or entry point is named. Start by reproducing the issue in a sourceless about:blank Window created from HTML, using Puppeteer, and trace how browser debug settings access localStorage. Done means debug can be enabled dynamically without triggering the security error.

Written by the indexing model from the issue text.

Description

question

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?

Dominant language
JavaScript
Stars
11.5k
Forks
992
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from debug-js/debug

All issues in debug-js/debug

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.