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
When upgrading from Vite 5 to Vite 6, the debug configuration file does not work as expected. It has always worked fine in Vite 5. This issue has been tested on both Visual Studio Code and JetBrains platforms, and while the problems manifest differently, neither works as expected.
The current debug screenshots are as follows (including JetBrains and Code):
The debug screenshots after simply changing the dependency version to Vite 5 are as follows:
I'm not entirely sure if this is an issue with Vite. I've searched extensively but haven't been able to resolve it. I would greatly appreciate any hints or guidance here.
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.
I suspect this is because IDE ignores node_modules by default. After adding a following .vscode/settings.json, vscode debugger seems to pick up source map properly.
I suspect this is because IDE ignores node_modules by default. After adding a following .vscode/settings.json, vscode debugger seems to pick up source map properly.
Describe the bug
When upgrading from Vite 5 to Vite 6, the debug configuration file does not work as expected. It has always worked fine in Vite 5. This issue has been tested on both Visual Studio Code and JetBrains platforms, and while the problems manifest differently, neither works as expected.
The current debug screenshots are as follows (including JetBrains and Code):
The debug screenshots after simply changing the dependency version to Vite 5 are as follows:
I'm not entirely sure if this is an issue with Vite. I've searched extensively but haven't been able to resolve it. I would greatly appreciate any hints or guidance here.
Reproduction
https://stackblitz.com/edit/bolt-vue-rzarxbse
Steps to reproduce
Use this simple
package.json
file, runnpm install
, and then debug the build script on the corresponding platform.System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: