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 not sure if it's an issue with electron-vite or something else. Putting it here with hopes to get some directions at least.
Issue:
When debugging the main process with VSCode the sourcemaps works fine and the breakpoints in the source file are hit. But the variable names in the Variables panel doesn't match with those in source files, rather they are mapped with build files (in dist/main/).
Variable names not matching with the source files (Breakpoints works though)
Variable names matching with the generated build files
Not able to figure out where exactly is the issue.
Describe the bug
I am not sure if it's an issue with electron-vite or something else. Putting it here with hopes to get some directions at least.
Issue:
When debugging the main process with VSCode the sourcemaps works fine and the breakpoints in the source file are hit. But the variable names in the
Variables
panel doesn't match with those in source files, rather they are mapped with build files (indist/main/
).Variable names not matching with the source files (Breakpoints works though)
Variable names matching with the generated build files
Not able to figure out where exactly is the issue.
Launch.json
electron.vite.config.mjs
Thanks in advance.
Electron-Vite Version
2.3.0
Electron Version
30.3.1
Vite Version
5.4.8
Validations
The text was updated successfully, but these errors were encountered: