godotjs / godotjs/javascript

Debuggin works only with javascript, not typescript

未关闭
#104 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
debugger
主要语言
C++
星标
1.1k
派生
80
PR 合并指标
30 天内没有已合并 PR

描述

Hello,

I've noticed that breakpoints only work when placing them in .jsx files... meaning .tsx file breakpoints are ignored, even though there sourcemaps.

Do I have anything misconfigured on my side, or is this the status quo?

Also `debugger;` statements are not caught, only breakpoints you mark actually do halt execution.

贡献指南

打开贡献指南

调研方向

首先在 .jsx 和 .tsx 文件中使用断点(包括 `debugger;` 语句)复现报告的问题,同时检查可用的 sourcemap。完成的标准是 TypeScript 断点和 `debugger;` 语句能够稳定地暂停执行,而不是只有标记的 JavaScript 断点才能暂停执行。

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

评估

技术栈
javascript, typescript
领域
devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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