godotjs / godotjs/javascript

Debuggin works only with javascript, not typescript

Open
#104 5 comments 0 reactions 0 assignees View on GitHub
debugger
Dominant language
C++
Stars
1.1k
Forks
80
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior with breakpoints in .jsx and .tsx files, including `debugger;` statements, while checking the available sourcemaps. Done means TypeScript breakpoints and `debugger;` statements halt execution consistently rather than only marked JavaScript breakpoints.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.