To solve Failed to connect to the remote extension host server (Error: Handler already set!) error follow below methods.
ERROR LOG
Failed to connect to the remote extension host server (Error: Handler already set!)
Contents
How to solve Failed to connect to the remote extension host server (Error: Handler already set!) ?
To solve Failed to establish a connection to the remote extension host server (Error: Handler already set!) Error Simply follow the below steps :
Modify settings.json add item “security.workspace.trust.enabled”: false
- Open Visual Studio Code Studio and press Control + Shift + P
- then type setting.json and open setting.json
- Now add “security.workspace.trust.enabled”: false
- Save setting.json file and then
- Restart visual studio code.
Alternative to Solve Failed to connect to the remote extension host server (Error: Handler already set!)
- Close VSCode
- Navigate to USERPROFILE%\AppData\Roaming\Code\User\workspaceStorage, and delete the contents (notably state.vscdb)
- Then restart VSCode.
- The DEBUG CONSOLE then appears, and everything is fine until I dock it again and close VSCode, at which point it is likely to occur again the next time VSCode is opened.
- It hasn’t happened since I stopped docking the window inside the terminal.
Also try :
Delete '~/.vscode-server' folder on your server, and try reconnect.
Hope the above solution works.
Also read :
npm ERR! ERESOLVE unable to resolve dependency tree while installing npm Packages
gulp-sass 5 does not have a default Sass compiler