Skip to content

feat: add 13 JavaScript Debugger tools via CDP Debugger domain#1058

Closed
soul-cat wants to merge 2 commits intoChromeDevTools:mainfrom
soul-cat:feat/debugger-tools
Closed

feat: add 13 JavaScript Debugger tools via CDP Debugger domain#1058
soul-cat wants to merge 2 commits intoChromeDevTools:mainfrom
soul-cat:feat/debugger-tools

Conversation

@soul-cat
Copy link
Copy Markdown

Add full debugger capabilities: enable/disable, breakpoints (set/remove/list), pause state inspection, stepping (over/into/out), call frame evaluation, script source retrieval, and script listing.

New file: src/tools/debugger.ts
Modified: McpPage (per-page debugger state + CDP event listeners), McpContext (13 debugger method implementations),
ToolDefinition (Context interface extension),
tools.ts (tool registration), types.ts (debugger interfaces)

Add full debugger capabilities: enable/disable, breakpoints (set/remove/list),
pause state inspection, stepping (over/into/out), call frame evaluation,
script source retrieval, and script listing.

New file: src/tools/debugger.ts
Modified: McpPage (per-page debugger state + CDP event listeners),
McpContext (13 debugger method implementations),
ToolDefinition (Context interface extension),
tools.ts (tool registration), types.ts (debugger interfaces)
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Feb 27, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

- setup-from-scratch.md: complete from-zero config guide with troubleshooting
- opencode-setup-guide.md: reference doc for existing users
- run-mcp.sh: wrapper script to launch MCP server from repo root
- test-debugger.mjs: comprehensive debugger functional test (14 cases)
@OrKoN
Copy link
Copy Markdown
Collaborator

OrKoN commented Mar 2, 2026

Thanks for the PR, could you please open a feature request instead? right now we do not have plans to offer debugger domain tools.

@OrKoN OrKoN closed this Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants