I appreciate you have probably solved this now, but I am wondering if you checked if VS Code was running:
ps aux | grep vscode | grep -v grep
Here’s a sample of the output I see on my laptop:
alan 346385 0.0 0.0 33938216 26652 ? Sl Feb27 16:14 /usr/share/code/code --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-GB --service-sandbox-type=none --crashpad-handler-pid=346344 --enable-crash-reporter=a8edd46c-751c-4d7e-99c5-e91181e976bf,no_channel --user-data-dir=/home/alan/.config/Code --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,9621155429283588465,14172979240161187367,262144 --disable-features=CalculateNativeWinOcclusion,PlzDedicatedWorker,SpareRendererForSitePerProcess --variations-seed-version
alan 346427 0.0 1.1 1214336612 359580 ? Sl Feb27 57:38 /usr/share/code/code --type=renderer --crashpad-handler-pid=346344 --enable-crash-reporter=a8edd46c-751c-4d7e-99c5-e91181e976bf,no_channel --user-data-dir=/home/alan/.config/Code --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --app-path=/usr/share/code/resources/app --enable-sandbox --enable-blink-features=HighlightAPI --disable-blink-features=FontMatchingCTMigration,StandardizedBrowserZoom, --lang=en-GB --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --time-ticks-at-unix-epoch=-1738838266000550 --launch-time-ticks=1845021751780 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,9621155429283588465,14172979240161187367,262144 --disable-features=CalculateNativeWinOcclusion,PlzDedicatedWorker,SpareRendererForSitePerProcess --variations-seed-version --vscode-window-config=vscode:6686db01-f7dd-4f73-9c85-df5ff78d8fe3
alan 346814 0.0 0.2 1213942784 88996 ? Sl Feb27 42:41 /usr/share/code/code --type=utility --utility-sub-type=node.mojom.NodeService --lang=en-GB --service-sandbox-type=none --crashpad-handler-pid=346344 --enable-crash-reporter=a8edd46c-751c-4d7e-99c5-e91181e976bf,no_channel --user-data-dir=/home/alan/.config/Code --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,9621155429283588465,14172979240161187367,262144 --disable-features=CalculateNativeWinOcclusion,PlzDedicatedWorker,SpareRendererForSitePerProcess --variations-seed-version
alan 346815 0.0 0.1 1213959660 49712 ? Sl Feb27 20:51 /usr/share/code/code --type=utility --utility-sub-type=node.mojom.NodeService --lang=en-GB --service-sandbox-type=none --crashpad-handler-pid=346344 --enable-crash-reporter=a8edd46c-751c-4d7e-99c5-e91181e976bf,no_channel --user-data-dir=/home/alan/.config/Code --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,9621155429283588465,14172979240161187367,262144 --disable-features=CalculateNativeWinOcclusion,PlzDedicatedWorker,SpareRendererForSitePerProcess --variations-seed-version
alan 346846 0.1 0.6 1213943832 203864 ? Sl Feb27 87:59 /usr/share/code/code --type=utility --utility-sub-type=node.mojom.NodeService --lang=en-GB --service-sandbox-type=none --dns-result-order=ipv4first --inspect-port=0 --crashpad-handler-pid=346344 --enable-crash-reporter=a8edd46c-751c-4d7e-99c5-e91181e976bf,no_channel --user-data-dir=/home/alan/.config/Code --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,9621155429283588465,14172979240161187367,262144 --disable-features=CalculateNativeWinOcclusion,PlzDedicatedWorker,SpareRendererForSitePerProcess --variations-seed-version
alan 347670 0.0 0.0 1212001028 31872 ? Sl Feb27 2:22 /usr/share/code/code /home/alan/.vscode/extensions/znck.grammarly-0.24.0/dist/server/index.node.js --node-ipc --clientProcessId=346846
alan 364794 0.0 0.2 1212369424 78492 ? Sl Feb27 63:13 /usr/share/code/code --type=renderer --crashpad-handler-pid=346344 --enable-crash-reporter=a8edd46c-751c-4d7e-99c5-e91181e976bf,no_channel --user-data-dir=/home/alan/.config/Code --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --app-path=/usr/share/code/resources/app --enable-sandbox --enable-blink-features=HighlightAPI --disable-blink-features=FontMatchingCTMigration,StandardizedBrowserZoom, --lang=en-GB --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=10 --time-ticks-at-unix-epoch=-1738838266000550 --launch-time-ticks=1845496316433 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,9621155429283588465,14172979240161187367,262144 --disable-features=CalculateNativeWinOcclusion,PlzDedicatedWorker,SpareRendererForSitePerProcess --variations-seed-version --vscode-window-config=vscode:6686db01-f7dd-4f73-9c85-df5ff78d8fe3
alan 364890 0.0 0.1 1212334144 49640 ? Sl Feb27 63:45 /usr/share/code/code --type=renderer --crashpad-handler-pid=346344 --enable-crash-reporter=a8edd46c-751c-4d7e-99c5-e91181e976bf,no_channel --user-data-dir=/home/alan/.config/Code --standard-schemes=vscode-webview,vscode-file --enable-sandbox --secure-schemes=vscode-webview,vscode-file --cors-schemes=vscode-webview,vscode-file --fetch-schemes=vscode-webview,vscode-file --service-worker-schemes=vscode-webview --code-cache-schemes=vscode-webview,vscode-file --app-path=/usr/share/code/resources/app --enable-sandbox --enable-blink-features=HighlightAPI --disable-blink-features=FontMatchingCTMigration,StandardizedBrowserZoom, --lang=en-GB --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=11 --time-ticks-at-unix-epoch=-1738838266000550 --launch-time-ticks=1845499596995 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,9621155429283588465,14172979240161187367,262144 --disable-features=CalculateNativeWinOcclusion,PlzDedicatedWorker,SpareRendererForSitePerProcess --variations-seed-version --vscode-window-config=vscode:6686db01-f7dd-4f73-9c85-df5ff78d8fe3
It’s very possible that there are no windows open, but there are vscode processes running in the background. If that’s the case you can kill them off with kill -9 <pid>
where <pid>
is the number in the second column in the output above.
So for me I might sudo kill -9 346385 346427 346814 346815 346846 347670 364794 364794
would kill those processes.