Somehow My visual studio code froze when It was idle for some time and I was using my Injellij application.

  1. When I found, I tried quitting the application by doing right +click on visual studio code icon and quit- nothing happened.
  2. Then I tried force quit -still nothing happened.
  3. opened activity monitor-saw electron(not responding)- tried quit and force quit- still nothing.
  4. then tried everything from this post How to "killall" Visual Studio Code in Terminal? - still nothing.

Also in taskbar, the vscode icon is not present but if I try to relaunch, I get an error message saying
"Another instance of Code is running but not responding
Please close all other instances and try again."

I am not sure what actually happened but if someone can help me to trace this and fix without restarting my system . I would also be happy if someone can help me find error logs for vscode or macos to investigate what actually happened. below are app and system information.

visual studio code
package name: VSCode-darwin-universal.zip
version : 1.57.1

mac Os catalina
version 10.15.7

  • github.com/microsoft/vscode/issues/6560
    – anki
    Commented Jun 23, 2021 at 18:35
  • How is that issue relevant? Commented Jun 23, 2021 at 19:20
  • Try restarting the computer through the menu bar. Commented Jun 23, 2021 at 22:58
  • 2
    @PeterNielsen yes a reboot will work but that should not be required and is too severe for this issue. There should be a less intrusive way
    – mmmmmm
    Commented Jun 24, 2021 at 9:26
  • After step 4 were there and elctron or code entries in activity monitor
    – mmmmmm
    Commented Jun 24, 2021 at 9:28

2 Answers 2



  1. kill all node processes
  2. Delete the VSCode and all related files
  3. Using an app like app cleaner
  4. Restart Mac
  5. Reinstall the VSCode again, and move it to Applications folder

You have to force quit the VS Code and start it again. For Force Quit, try the following steps:

  1. Press these three keys together: Option+Command+Esc.
  2. A new pop-up window will appear, Select the VS Code from it and click on the Force Quit Button

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .