Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error : Extension host terminated unexpectedly in VS Code

Many of you faced the error while coding in vs code unexpectedly. I had also faced the issue while coding and it seems to be a tall-order task to fix the issue.

enter image description here

Many of you tried even I also tried the following methods

  1. removed git folder
  2. uninstalled all extensions
  3. disabled the git in the settings.json file
  4. removed cached files of the software
  5. even uninstalled VS code and installed it again, but it gives me the same error that says: "Extension host terminated unexpectedly"

so what's the solution for this problem ?

like image 375
aravind ks Avatar asked Feb 17 '26 06:02

aravind ks


2 Answers

The solution for the problem :

  1. Open your vscode and launch the command palette by ctrl + shift + p enter image description here

  2. Start the Extension Bisect

  3. You can see a pop-up window like this

enter image description here

If your vscode works perfectly, select "Good now"
However, if you see the error "Extension host terminated unexpectedly", select the "This is bad" option.

  1. This program is a binary search algorithm which finds the extensions that cause the root problem and fix the issue that currently faces
like image 131
aravind ks Avatar answered Feb 19 '26 23:02

aravind ks


I tried the Extension Bisect but it did not work. Then proceeded to disable all the extensions but then also the error came. I uninstalled extensions but still the error came up.

I disabled the breakpoints and then the error went surprisingly. Breakpoints are disabled

like image 33
Work Samsung Avatar answered Feb 20 '26 01:02

Work Samsung



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!