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
{{ message }}
Repository navigation
In Vite version 6, breakpoints do not trigger correctly during build debugging. #19110
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.
Activity
hi-ogawa commentedon Jan 2, 2025
I suspect this is because IDE ignores
node_modulesby default. After adding a following.vscode/settings.json, vscode debugger seems to pick up source map properly.Some references
newacorn commentedon Jan 2, 2025
Thank you very much! It works now.