Steps to Reproduce:
@CNMan so does it not happen when you are not specifying those arguments?
@bpasero it don't happen when no arguments.
@CNMan is the E: drive any special?
@bpasero no,it is a normal logical drive of hard disk
@CNMan something in the console (open dev tools from help menu)?
@bpasero nothing.fresh os and fresh vscode.
@CNMan can we find out which of the 2 arguments is causing it by using one and then the other?
@bpasero tested and the error occurs when run vscode with 2 arguments only.
@CNMan do you actually have something in the extensions folder (both in E:\Backup\VSCODE\extensions and E:\Backup\extensions)?
I cannot reproduce the extension host crash but I can also not install any extensions when running like that (@joaomoreno fyi).
rd /s /q c:\Users\Administrator\.vscode\
rd /s /q c:\Users\Administrator\AppData\Roaming\Code\
@CNMan are those folders empty or do they have extensions? I am talking about E:\Backup\VSCODE\extensions and E:\Backup\extensions
@bpasero
E:\Backup\VSCODE\extensions is empty.
E:\Backup\extensions does not exist.
@CNMan does it fix the issue when you create the folder E:\Backup\extensions ?
@bpasero no
I'm getting the same thing - and can easily replicate it by doing the following...
rd /s /q "%USERPROFILE%\.vscode"
rd /s /q "%APPDATA%\Code"
md "%TEMP%\vscode\extensions"
code --user-data-dir="%TEMP%\vscode" --extensionHomePath="%TEMP%\vscode\extensions"

With the screenshot it looks like the shared process is not healthy. @joaomoreno moving to you.
No @bpasero. The screenshot also shows the extension host being broken... But sure... I'll take a look.
I had the same issue on windows (in a very restricted corporate environment) and could not find a solution anywhere. The following solved the problem for me (not sure why) :
Edit the vscode shortcut and in Target field, type the following text
(Please make sure the paths are right).
C:\Windows\System32\cmd.exe /c "C:\Program Files (x86)\Microsoft VS Code\bin\code"
hope this helps.
@CNMan Do you still have this issue?
This is fixed for me in the latest v1.5.2.
@joaomoreno it seems already fixed for me in v1.5.3. thanks.
edit:but extensions don't install to custom dir ,but c:\Users\username\.vscode\extensions\
Thanks guys
I had the same problem but then i installed the "insider" version and it worked...
https://code.visualstudio.com/insiders
坑啊,一堆问题。。。还说会保留设置。。。
Most helpful comment
@joaomoreno it seems already fixed for me in v1.5.3. thanks.
edit:but extensions don't install to custom dir ,but
c:\Users\username\.vscode\extensions\