Skip to content

Add option to automatically skip JavaScript debugger pauses #2539

Closed

Description

@YUCHENOO

Is your feature request related to a problem? Please describe.

When using chrome-devtools-mcp for browser automation, some pages contain debugger; statements or anti-debugging scripts.

Once the MCP server connects through Chrome DevTools Protocol (CDP), these debugger statements cause JavaScript execution to pause, making the page appear frozen. This affects automation workflows because actions such as clicking, evaluating scripts, and navigation may become unreliable.

Currently, users have to manually resume execution or modify the target page source code, which is inconvenient for automated browser control.

Describe the solution you'd like

Add an option to enable CDP's Debugger.setSkipAllPauses automatically when chrome-devtools-mcp connects to a browser.

For example, provide a startup option such as:

Describe alternatives you've considered

or enable it through configuration.

When enabled, chrome-devtools-mcp should send:

{
  "method": "Debugger.setSkipAllPauses",
  "params": {
    "skip": true
  }
}

### Additional context

_No response_

Activity

  1. added theissue type on Aug 11, 2026
  2. changed the issue type fromtoon Aug 11, 2026
  3. OrKoN commented on Aug 11, 2026

    @OrKoN
    Collaborator

    Thanks for reporting. I think this is a bug.

  4. YUCHENOO commented on Aug 11, 2026

    @YUCHENOO
    Author

    Thanks for confirming.

    I can reproduce this consistently with pages containing debugger; statements.

    The issue happens only after chrome-devtools-mcp attaches through CDP. Without the CDP connection, the same pages work normally.

    I verified that calling:

  5. self-assigned this
    on Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions