nodejs / nodejs/node

Debugger.setInstrumentationBreakpoint is broken

未关闭
#31,138 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

inspector
主要语言
JavaScript
星标
122k
派生
37.4k
平均合并
4 天 3 小时
30 天内合并 PR
272

描述

  • Version: v14.0.0-pre, master branch
  • Platform: Linux
  • Subsystem: inspector

Newly added Debugger.setInstrumentationBreakpoint inspector API doesn't work for me. Changes were introduced for request #24687. The same API works fine in Chrome.

I've created a test #31137. Breakpoints for scripts with sourcemaps only don't work either. If I use the protocol incorrectly, please let me know which additional methods should be called.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先运行或阅读测试 #31137,并跟踪 Debugger.setInstrumentationBreakpoint 的 inspector 入口点。将其行为与 issue 中描述的 Chrome 协议行为进行比较,包括带有 sourcemaps 的脚本。对于报告中的 breakpoint 用例,API 能够正常工作即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。