Runar Ovesen Hjerpbakk

Science-based software development

Visual Studio Code failed to start on macOS

One day Visual Studio Code (VS Code) did not start on my Mac.

As VS Code is based on Electron, I tried to run it from the Terminal with verbose logging and no extensions:

$ code --verbose --disable-extensions

Nothing. Not even a single log line before the process exited.

So I deleted the app from the Applications folder, download a new version and tried running it again.

When it works, it works.

Success, but I never found the real cause of the problem.