You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add option to automatically skip JavaScript debugger pauses #2539
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.
Activity
OrKoN commentedon Aug 11, 2026
Thanks for reporting. I think this is a bug.
YUCHENOO commentedon Aug 11, 2026
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:
fix: ensure debugger statements are skipped by devtools (ChromeDevToo…