You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am puting a breakpoint on a javascript source file with import and the debugger (VSCode) opens the remote file instead of the local file.
If I put a breakpoint on a javascript source file without imports, everything works fine.
If I put a breakpoint on a vue file, all hell break loos.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
I am puting a breakpoint on a javascript source file with import and the debugger (VSCode) opens the remote file instead of the local file.
If I put a breakpoint on a javascript source file without imports, everything works fine.
If I put a breakpoint on a vue file, all hell break loos.
looks like the return of
#7767
Here is the reproduction:
Doesnt Work Example - javascript file with imports:
remote file opened.
Not Working Example - vue files
Working Example - javascript file without imports:
local file opened
Reproduction
https://github.com/amirhadar/vite_sourcemap_issue
Steps to reproduce
npm create vite@latest
npm install
npm run dev
In VSCode
put a breakpoint on a js or vue file and refreash the browser.
System Info
Used Package Manager
npm
Logs
build logs
Validations
The text was updated successfully, but these errors were encountered: