-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugger and current debugging line are both misplaced #335
Comments
I am seeing this issue as well using React with TypeScript in a Vite project. Chrome debugger is working fine. |
It may be worth noting that the browser debugger works normally for me, which leads me to think there may be a vscode source map issue. But I'm not sure how to look into that. Also there doesn't seem to be an issue debugging Angular projects, which don't use Vite |
Same issue here. I posted a separate issue though... #362 Currently Vite is simply unusable with Firefox. |
I am having the same issues. Looking in the debugger tab (in Firefox) it seems like the breakpoint is triggered in a non-sourcemapped version of the file: The offset seems to correspond with the difference between the source and the JavaScript that is executed. |
Same issue here. The extension troubleshooting section recommends looking at Log
|
This happens to me on Vue as well although it was not always the case. At some point when updating Vue and Vite debugging broke. Log output has bunch of |
This is the only thing currently keeping me from switching to firefox
Repo to reproduce
Repro steps:
I am trying to debug from vscode a vue 3 with TS and vite project
As stated in the docs i did:
and executed Firefox as follows
"C:\Program Files\Mozilla Firefox\firefox.exe" -start-debugger-server
The problem is that the debugger is all jumpy and doesn’t hit the correct line:
Here is my launch.json (the one for chrome works perfectly well)
The text was updated successfully, but these errors were encountered: