Closed dwpprof closed 1 week ago
I'm reproducing this on a project where I've been using vite for a couple months now. Even older versions of my code including older versions of vite all fail. I also can reproduce this issue with vite + react + typescript starter app.
I reproduced on mac + chrome and mac + edge as well.
Reproduced with vanilla JavaScript vite-project as well.
Ah - I just tracked it down. It's an issue with the October 2024 build of VSCode. Reverting back to September build https://code.visualstudio.com/updates/v1_94
Ах, я только что отследил это. Это проблема с октябрьской сборкой VSCode 2024 года. Откат к сентябрьской сборке https://code.visualstudio.com/updates/v1_94
Yes, it seems to be a problem with the microsoft debugger. Thanks for the tip, I'll try downgrading VScode
Reproduced on vite + vue3 two years project which this happens from one day to another. When was the VSCode update?
Describe the bug
I decided to try Vite for myself. I use VSCode and Google Chrome, trying use it with React Typescript project, studied a lot of information, tried several approaches, but still did not understand why breakpoints do not work when the browser is launched in debug mode. If you set a breakpoint anywhere before launching F5, the page in the browser just hangs in debug pause mode and does not pass the breakpoint to VSCode, but if you set a breakpoint after the page loads, the breakpoints work, as I expect. I tried to create a JS project, a Vue project, the same behavior everywhere. I found several similar topics in the search, but none of the solutions helped me. I used before default react-script project. I am realy sorry, if the problem is simple and i'm just stupid
Reproduction
n/a
Steps to reproduce
I created new clean project from TypeScript React template
npm create vite@latest my-vite-react-app -- --template react-ts
System Info
Used Package Manager
npm
Logs
n/a
Validations