Closed marekv1 closed 1 month ago
Have the same issue. My work-around is to remove all breakpoints, run my application, then put breakpoints back and they work correctly. So it just seems can't launch when there is a breakpoint. Edit: sorry, or refresh page when have breakpoints, including hmr - should delete this comment but just wanted to say more than "me too". Gonna roll back until this is fixed as this is a real productivity killer.
My solution differs slightly from @avenmore's. My browser hit the exact line pictured above and never loaded any source files. Turns out, I had an unbound breakpoint visible only in the "Breakpoints" section of the "Run and Debug" VS Code menu. Removing it fixed the issue.
I hope this helps.
Type: Bug
I updated to october version and when i put a breakpoint somewhere the browser "msedge" will hang. I did it with opened devtools and it paused the degugger at vite HMR client:
I tried this also with insiders version and no luck. After downgrade to september release everything works the same. vite@5.4.0 . This happens anywhere i have vite HMR in my project.
Example launch.json:
My package.json:
Any ideas?
VS Code version: Code 1.95.0 (Universal) (912bb683695358a54ae0c670461738984cbb5b95, 2024-10-28T20:16:24.561Z) OS version: Darwin arm64 24.0.0 Modes:
System Info
|Item|Value| |---|---| |CPUs|Apple M2 Pro (12 x 2400)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|3, 4, 4| |Memory (System)|16.00GB (0.27GB free)| |Process Argv|--crash-reporter-id ede84c26-24db-4f68-8382-3f5f3c22a955| |Screen Reader|no| |VM|0%|
Extensions (92)
Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 vscode-nginx-conf|ahm|0.3.5 file-nesting|ant|1.1.2 goto-alias|ant|0.2.0 iconify|ant|0.9.5 slidev|ant|0.49.29 unocss|ant|0.63.6 shell-syntax|bma|1.0.5 mermaid-markdown-syntax-highlighting|bpr|1.6.7 catppuccin-vsc|Cat|3.15.2 npm-intellisense|chr|1.4.5 path-intellisense|chr|2.9.0 esbuild-problem-matchers|con|0.0.3 dart-code|Dar|3.98.1 vscode-markdownlint|Dav|0.56.0 vscode-eslint|dba|3.0.10 xml|Dot|2.5.1 gitlens|eam|15.6.2 vscode-html-css|ecm|2.0.10 EditorConfig|Edi|0.16.4 prettier-vscode|esb|11.0.0 figma-vscode-extension|fig|0.4.0 copilot|Git|1.243.0 copilot-chat|Git|0.23.2024102903 vscode-pull-request-github|Git|0.100.0 gitlab-workflow|Git|5.17.0 git-worktrees|Git|2.2.0 gc-excelviewer|Gra|4.2.62 vscode-graphql-syntax|Gra|1.3.6 vue-snippets|hol|1.0.4 vscode-htmlhint|HTM|1.0.5 ftp-simple|hum|0.7.6 svg|joc|1.5.4 commitlint|jos|2.6.0 i18n-ally|lok|2.12.0 MagicPython|mag|1.1.0 python-path|mge|0.0.14 git-graph|mhu|1.30.0 mis-core|Mic|1.0.0 vscode-lebab|mrm|2.6.0 vscode-scss|mrm|0.10.0 vscode-docker|ms-|1.29.3 vscode-edge-devtools|ms-|2.1.6 autopep8|ms-|2024.0.0 pylint|ms-|2024.0.0 python|ms-|2024.16.1 vscode-pylance|ms-|2024.10.1 jupyter-keymap|ms-|1.1.2 remote-containers|ms-|0.388.0 remote-ssh|ms-|0.115.0 remote-ssh-edit|ms-|0.87.0 remote-wsl|ms-|0.88.5 vscode-remote-extensionpack|ms-|0.26.0 remote-explorer|ms-|0.4.3 remote-server|ms-|1.5.2 vscode-speech|ms-|0.10.0 vscode-paste-image|mus|1.0.4 bun-vscode|ove|0.0.15 csv-to-table|php|1.4.0 material-icon-theme|PKi|5.12.0 webgl-glsl-editor|rac|1.3.8 vscode-rapidapi-client|Rap|1.10.2 vscode-services|rap|1.0.2 nginx-formatter|ray|0.0.13 java|red|1.35.1 vscode-sort-json|ric|1.20.0 vscode-redmine|roz|1.1.1 tab-stasher|san|0.0.6 code-spell-checker|str|3.0.1 code-spell-checker-slovak|str|1.1.2 sass-indented|syl|1.8.31 es6-string-html|Tob|2.16.0 pdf|tom|1.2.2 tiff-preview|uco|0.0.1 vscode-mdx|uni|1.8.11 errorlens|use|3.20.0 explorer|vit|1.6.3 vscode-conventional-commits|viv|1.26.0 vscode-boot-dev-pack|vmw|0.2.1 vscode-java-debug|vsc|0.58.0 vscode-java-dependency|vsc|0.24.0 vscode-java-pack|vsc|0.29.0 vscode-java-test|vsc|0.42.0 vscode-maven|vsc|0.44.0 vscode-icons|vsc|12.9.0 vim|vsc|1.28.1 volar|Vue|2.1.10 vscode-todo-highlight|way|1.0.5 vscode-nginx|wil|0.7.2 JavaScriptSnippets|xab|1.8.0 emmet-live|yse|1.0.0 markdown-all-in-one|yzh|3.6.2 (7 theme extensions excluded)A/B Experiments
``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 vscrp:30673768 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 01bff139:31013167 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl1:31139838 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-t:31132770 wkspc-ranged-t:31151552 cf971741:31144450 iacca1:31156133 notype1cf:31157160 5fd0e150:31155592 dwcopilot:31170013 ```