This problem will occur in two cases:
- when vscode is not started, vscode will automatically start and open the cli.js file
- when I use vscode normally, a new window will automatically open with the content of the cli.js file
Same situation is described in the following guthub issues:
Unfortunetally, Microsoft closes theese issues and I cannot answer them there, so I'll describe my case here.
- If we'll search for "code" processes with process hacker and find process,
that has
cli.js
in their command line arguments, then we'll saw this one:"C:\Users\Andrew\AppData\Local\Programs\Microsoft VS Code\Code.exe" "C:\Users\Andrew\AppData\Local\Programs\Microsoft VS Code\bin\..\resources\app\out\cli.js" --list-extensions
- Then look at the parent process (process properties, general tab) - this is
cmd
, go to parent cmd
has its parent -kited.exe
So we figured out problem source - this is https://kite.com/ service. If you stop this service, then the issue will stop appearing.