vscode icon indicating copy to clipboard operation
vscode copied to clipboard

[Linux] MCP servers which require `node` or `npx` command don't start up in fish shell

Open kamikazechaser opened this issue 7 months ago • 9 comments

Type: Bug

Possible related to: #246293, #249130, #249301

mcp.json is in the Workspace context (.vscode/mcp.json).

I assume this affects pretty much every command that is missing in PATH. For some context, my default terminal is fish and I use nvm. npx and node are available in PATH by default in both fish shell and bash. There error I get is

2025-05-21 09:56:44.659 [info] Starting server Context7
2025-05-21 09:56:44.659 [info] Connection state: Starting
2025-05-21 09:56:44.659 [info] Starting server from LocalProcess extension host
2025-05-21 09:56:44.690 [info] Connection state: Starting
2025-05-21 09:56:44.693 [info] Connection state: Error spawn npx ENOENT

Passing in the complete path to the command field in the servers won't help because npx eventually calls node which will also be missing:

2025-05-21 10:00:54.530 [info] Starting server Context7
2025-05-21 10:00:54.531 [info] Connection state: Starting
2025-05-21 10:00:54.544 [info] Starting server from LocalProcess extension host
2025-05-21 10:00:54.565 [info] Connection state: Starting
2025-05-21 10:00:54.565 [info] Connection state: Running
2025-05-21 10:00:54.566 [warning] [server stderr] /usr/bin/env: ‘node’: No such file or directory
2025-05-21 10:00:54.567 [info] Connection state: Error Process exited with code 127

I am not sure how the local process is spawned and in which shell context.

VS Code version: Code 1.100.2 (848b80aeb52026648a8ff9f7c45a9b0a80641e2e, 2025-05-14T21:47:40.416Z) OS version: Linux x64 6.13.11-x64v3-xanmod1 Modes:

System Info
Item Value
CPUs AMD Ryzen 5 PRO 4650G with Radeon Graphics (12 x 4253)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 1, 1, 1
Memory (System) 13.52GB (4.62GB free)
Process Argv . --crash-reporter-id 18296c2d-a469-4862-9e41-5d14a2aa4dbc
Screen Reader no
VM 0%
DESKTOP_SESSION xfce
XDG_CURRENT_DESKTOP XFCE
XDG_SESSION_DESKTOP xfce
XDG_SESSION_TYPE x11
Extensions (34)
Extension Author (truncated) Version
vscode-eslint dba 3.0.10
vscode-deno den 3.44.2
docker doc 0.6.0
gitlens eam 17.1.0
auto-close-tag for 0.5.15
copilot Git 1.322.0
copilot-chat Git 0.27.1
go gol 0.46.1
solidity Jua 0.0.184
rainbow-csv mec 3.19.0
vscode-docker ms- 1.29.6
csdevkit ms- 1.19.63
csharp ms- 2.76.27
vscode-dotnet-runtime ms- 2.3.3
debugpy ms- 2025.8.0
python ms- 2025.6.1
vscode-pylance ms- 2025.5.1
remote-containers ms- 0.413.0
remote-ssh ms- 0.120.0
remote-ssh-edit ms- 0.87.0
cmake-tools ms- 1.20.53
cpptools ms- 1.25.3
cpptools-extension-pack ms- 1.3.1
remote-explorer ms- 0.5.0
vscode-yaml red 1.18.0
rust-analyzer rus 0.3.2466
even-better-toml tam 0.21.2
xmake-vscode tbo 2.4.0
cmake twx 0.0.17
vscode-mdx uni 1.8.14
vscode-lldb vad 1.11.4
volar Vue 2.2.10
luahelper yin 0.2.29
material-theme zhu 3.19.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscod805cf:30301675
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
9gig6300:31309970
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
pylancecolor:31309108
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004

kamikazechaser avatar May 21 '25 07:05 kamikazechaser

Please do the following:

  1. Run "Configure Runtime Arguments" and set "log-level": "trace"
  2. Completely close VS code, including all Windows
  3. Open VS Code from your desktop or app browser (not a terminal)
  4. Go to Output > Main and share the logs with us

connor4312 avatar May 22 '25 15:05 connor4312

2025-05-22 18:29:09.737 [trace] [File Watcher (node.js)] Request to start watching: /home/kamikaze/.config/Code/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/home/kamikaze/.config/Code/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-05-22 18:29:09.737 [debug] Starting VS Code
2025-05-22 18:29:09.737 [debug] from: /usr/share/code/resources/app
2025-05-22 18:29:09.737 [debug] args: {"_":[],"diff":false,"merge":false,"add":false,"remove":false,"goto":false,"new-window":false,"reuse-window":false,"wait":false,"help":false,"list-extensions":false,"show-versions":false,"pre-release":false,"update-extensions":false,"version":false,"verbose":false,"log":["trace"],"status":false,"prof-startup":false,"no-cached-data":false,"prof-v8-extensions":false,"disable-extensions":false,"disable-lcd-text":false,"disable-gpu":false,"disable-chromium-sandbox":false,"sandbox":false,"telemetry":false,"debugRenderer":false,"enable-smoke-test-driver":false,"logExtensionHostCommunication":false,"skip-release-notes":false,"skip-welcome":false,"disable-telemetry":false,"disable-updates":false,"use-inmemory-secretstorage":false,"disable-workspace-trust":false,"disable-crash-reporter":false,"crash-reporter-id":"18296c2d-a469-4862-9e41-5d14a2aa4dbc","skip-add-to-recently-opened":false,"open-url":false,"file-write":false,"file-chmod":false,"force":false,"do-not-sync":false,"do-not-include-pack-dependencies":false,"trace":false,"trace-memory-infra":false,"preserve-env":false,"force-user-env":false,"force-disable-user-env":false,"open-devtools":false,"disable-gpu-sandbox":false,"__enable-file-policy":false,"enable-coi":false,"no-proxy-server":false,"no-sandbox":false,"nolazy":false,"force-renderer-accessibility":false,"ignore-certificate-errors":false,"allow-insecure-localhost":false,"disable-dev-shm-usage":false,"profile-temp":false,"logsPath":"/home/kamikaze/.config/Code/logs/20250522T182909"}
2025-05-22 18:29:09.737 [trace] Resolving machine identifier...
2025-05-22 18:29:09.737 [trace] Resolved machine identifier: de7ecce95e0479570ecd9183e80553f84bc62261789f8e1e5157a00d51c65446
2025-05-22 18:29:09.737 [trace] Main->SharedProcess#connect
2025-05-22 18:29:09.737 [trace] [File Watcher (node.js)] Started watching: '/home/kamikaze/.config/Code/User'
2025-05-22 18:29:09.737 [trace] [File Watcher (node.js)] Started watching: '/home/kamikaze/.config/Code/User/settings.json'
2025-05-22 18:29:09.740 [trace] StorageMainService: creating application storage
2025-05-22 18:29:09.745 [trace] ElectronURLListener: waiting for window to be ready to handle URLs...
2025-05-22 18:29:09.745 [trace] lifecycle (main): phase changed (value: 2)
2025-05-22 18:29:09.746 [trace] windowsManager#open
2025-05-22 18:29:09.751 [trace] windowsManager#open pathsToOpen [{"workspace":{"id":"a1b7d2b17101bd97d50f75f6f7439e18","uri":{"$mid":1,"fsPath":"/home/kamikaze/ge/pool-router","path":"/home/kamikaze/ge/pool-router","scheme":"file"}},"type":2,"exists":true}]
2025-05-22 18:29:09.751 [trace] windowsManager#doOpenFolderOrWorkspace {"folderOrWorkspace":{"workspace":{"id":"a1b7d2b17101bd97d50f75f6f7439e18","uri":{"$mid":1,"fsPath":"/home/kamikaze/ge/pool-router","external":"file:///home/kamikaze/ge/pool-router","path":"/home/kamikaze/ge/pool-router","scheme":"file"}},"type":2,"exists":true}}
2025-05-22 18:29:09.753 [trace] IPC Object URL: Registered new channel vscode:508d0d66-f543-43b1-aa56-e7fedbf194b9.
2025-05-22 18:29:09.753 [trace] window#validateWindowState: validating window state on 1 display(s) {"mode":0,"x":0,"y":0,"width":1953,"height":1069,"zoomLevel":-1}
2025-05-22 18:29:09.753 [trace] window#validateWindowState: single monitor working area {"x":0,"y":0,"width":1951,"height":1067}
2025-05-22 18:29:09.753 [trace] window#ctor: using window state {"mode":0,"x":0,"y":0,"width":1951,"height":1067,"zoomLevel":-1}
2025-05-22 18:29:09.819 [trace] window#load: attempt to load window (id: 1)
2025-05-22 18:29:09.825 [trace] StorageMainService: creating workspace storage (a1b7d2b17101bd97d50f75f6f7439e18)
2025-05-22 18:29:09.827 [trace] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 1, emptyToRestore: 0, maybeOpenEmptyWindow: false)
2025-05-22 18:29:09.828 [trace] lifecycle (main): phase changed (value: 3)
2025-05-22 18:29:09.828 [trace] resolveShellEnv(): running (macOS/Linux)
2025-05-22 18:29:09.828 [trace] getUnixShellEnvironment#runAsNode undefined
2025-05-22 18:29:09.828 [trace] getUnixShellEnvironment#noAttach undefined
2025-05-22 18:29:09.829 [trace] getUnixShellEnvironment#env {"QT_SCALE_FACTOR":"1","USER":"kamikaze","XDG_SEAT":"seat0","XDG_SESSION_TYPE":"x11","SSH_AGENT_PID":"1362","QT_PLATFORMTHEME":"gtk2","XDG_CACHE_HOME":"/home/kamikaze/.cache","HOME":"/home/kamikaze","DESKTOP_SESSION":"xfce","XDG_SEAT_PATH":"/org/freedesktop/DisplayManager/Seat0","GTK_MODULES":"canberra-gtk-module:gail:atk-bridge","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","QT_QPA_PLATFORMTHEME":"gtk2","LOGNAME":"kamikaze","XDG_SESSION_CLASS":"user","XDG_SESSION_ID":"1","PATH":"/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games","GDM_LANG":"en_US.UTF-8","PAPERSIZE":"letter","XDG_SESSION_PATH":"/org/freedesktop/DisplayManager/Session0","XDG_RUNTIME_DIR":"/run/user/1000","XDG_MENU_PREFIX":"xfce-","LANG":"en_US.UTF-8","XDG_CURRENT_DESKTOP":"XFCE","XDG_SESSION_DESKTOP":"xfce","XAUTHORITY":"/home/kamikaze/.Xauthority","XDG_CONFIG_HOME":"/home/kamikaze/.config","XDG_GREETER_DATA_DIR":"/var/lib/lightdm/data/kamikaze","SSH_AUTH_SOCK":"/tmp/ssh-RoB6RrXPVCnv/agent.1233","SHELL":"/bin/bash","GDMSESSION":"xfce","QT_ACCESSIBILITY":"1","QT_LOGGING_RULES":"qt.qpa.xcb.warning=false","XDG_VTNR":"7","PWD":"/home/kamikaze","XDG_DATA_DIRS":"/usr/share/xfce4:/home/kamikaze/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share","XDG_CONFIG_DIRS":"/etc/xdg","QT_PLATFORM_PLUGIN":"gtk2","SESSION_MANAGER":"local/argon:@/tmp/.ICE-unix/1233,unix/argon:/tmp/.ICE-unix/1233","PANEL_GDK_CORE_DEVICE_EVENTS":"0","DISPLAY":":0.0","CHROME_DESKTOP":"code.desktop","ORIGINAL_XDG_CURRENT_DESKTOP":"XFCE","VSCODE_CWD":"/home/kamikaze","GDK_BACKEND":"x11","VSCODE_NLS_CONFIG":"{\"userLocale\":\"en-us\",\"osLocale\":\"en-us\",\"resolvedLanguage\":\"en\",\"defaultMessagesFile\":\"/usr/share/code/resources/app/out/nls.messages.json\",\"locale\":\"en-us\",\"availableLanguages\":{}}","VSCODE_CODE_CACHE_PATH":"/home/kamikaze/.config/Code/CachedData/848b80aeb52026648a8ff9f7c45a9b0a80641e2e","VSCODE_IPC_HOOK":"/run/user/1000/vscode-002fffc6-1.10-main.sock","VSCODE_PID":"165319","ELECTRON_RUN_AS_NODE":"1","ELECTRON_NO_ATTACH_CONSOLE":"1","VSCODE_RESOLVING_ENVIRONMENT":"1"}
2025-05-22 18:29:09.830 [trace] getUnixShellEnvironment#shell /bin/bash
2025-05-22 18:29:09.830 [trace] getUnixShellEnvironment#spawn ["-i","-l","-c"] '/usr/share/code/code'  -p '"26f12dfdbc05" + JSON.stringify(process.env) + "26f12dfdbc05"'
2025-05-22 18:29:09.853 [info] update#setState idle
2025-05-22 18:29:10.103 [trace] resolveShellEnv(): running (macOS/Linux)
2025-05-22 18:29:10.202 [trace] getUnixShellEnvironment#raw 26f12dfdbc05{"SHELL":"/bin/bash","SESSION_MANAGER":"local/argon:@/tmp/.ICE-unix/1233,unix/argon:/tmp/.ICE-unix/1233","QT_ACCESSIBILITY":"1","NVM_RC_VERSION":"","XDG_CONFIG_DIRS":"/etc/xdg","XDG_SESSION_PATH":"/org/freedesktop/DisplayManager/Session0","XDG_MENU_PREFIX":"xfce-","QT_LOGGING_RULES":"qt.qpa.xcb.warning=false","SSH_AUTH_SOCK":"/tmp/ssh-RoB6RrXPVCnv/agent.1233","XDG_CONFIG_HOME":"/home/kamikaze/.config","XMAKE_PROGRAM_FILE":"/home/kamikaze/.local/bin/xmake","ELECTRON_RUN_AS_NODE":"1","DESKTOP_SESSION":"xfce","SSH_AGENT_PID":"1362","GTK_MODULES":"canberra-gtk-module:gail:atk-bridge","XDG_SEAT":"seat0","PWD":"/home/kamikaze","XDG_SESSION_DESKTOP":"xfce","LOGNAME":"kamikaze","QT_QPA_PLATFORMTHEME":"gtk2","XDG_SESSION_TYPE":"x11","PANEL_GDK_CORE_DEVICE_EVENTS":"0","PNPM_HOME":"/home/kamikaze/.local/share/pnpm","XMAKE_PROGRAM_DIR":"/home/kamikaze/.local/share/xmake","VSCODE_CODE_CACHE_PATH":"/home/kamikaze/.config/Code/CachedData/848b80aeb52026648a8ff9f7c45a9b0a80641e2e","XAUTHORITY":"/home/kamikaze/.Xauthority","XDG_GREETER_DATA_DIR":"/var/lib/lightdm/data/kamikaze","GDM_LANG":"en_US.UTF-8","HOME":"/home/kamikaze","LANG":"en_US.UTF-8","LS_COLORS":"","XDG_CURRENT_DESKTOP":"XFCE","VSCODE_IPC_HOOK":"/run/user/1000/vscode-002fffc6-1.10-main.sock","QT_PLATFORMTHEME":"gtk2","XDG_SEAT_PATH":"/org/freedesktop/DisplayManager/Seat0","CHROME_DESKTOP":"code.desktop","XDG_CACHE_HOME":"/home/kamikaze/.cache","NVM_DIR":"/home/kamikaze/.nvm","XDG_SESSION_CLASS":"user","USER":"kamikaze","DISPLAY":":0.0","XMAKE_ROOTDIR":"/home/kamikaze/.local/bin","VSCODE_PID":"165319","SHLVL":"0","NVM_CD_FLAGS":"","VSCODE_CWD":"/home/kamikaze","XDG_VTNR":"7","XDG_SESSION_ID":"1","PAPERSIZE":"letter","XDG_RUNTIME_DIR":"/run/user/1000","XMAKE_SHELL":"bash","QT_PLATFORM_PLUGIN":"gtk2","BUN_INSTALL":"/home/kamikaze/.bun","ELECTRON_NO_ATTACH_CONSOLE":"1","XDG_DATA_DIRS":"/usr/share/xfce4:/home/kamikaze/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share","GDK_BACKEND":"x11","PATH":"/home/kamikaze/.deno/bin:/home/kamikaze/.local/bin:/home/kamikaze/bin:/home/kamikaze/.local/bin:/home/kamikaze/.cargo/bin:/home/kamikaze/.local/share/pnpm:/home/kamikaze/.bun/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/kamikaze/.dotnet/tools:/sbin:/usr/sbin:/home/kamikaze/.foundry/bin:/home/kamikaze/.ge-publish/bin","VSCODE_RESOLVING_ENVIRONMENT":"1","GDMSESSION":"xfce","ORIGINAL_XDG_CURRENT_DESKTOP":"XFCE","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","VSCODE_NLS_CONFIG":"{\"userLocale\":\"en-us\",\"osLocale\":\"en-us\",\"resolvedLanguage\":\"en\",\"defaultMessagesFile\":\"/usr/share/code/resources/app/out/nls.messages.json\",\"locale\":\"en-us\",\"availableLanguages\":{}}","QT_SCALE_FACTOR":"1","_":"/usr/share/code/code"}26f12dfdbc05

2025-05-22 18:29:10.203 [trace] getUnixShellEnvironment#stderr bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2025-05-22 18:29:10.203 [trace] getUnixShellEnvironment#result {"SHELL":"/bin/bash","SESSION_MANAGER":"local/argon:@/tmp/.ICE-unix/1233,unix/argon:/tmp/.ICE-unix/1233","QT_ACCESSIBILITY":"1","NVM_RC_VERSION":"","XDG_CONFIG_DIRS":"/etc/xdg","XDG_SESSION_PATH":"/org/freedesktop/DisplayManager/Session0","XDG_MENU_PREFIX":"xfce-","QT_LOGGING_RULES":"qt.qpa.xcb.warning=false","SSH_AUTH_SOCK":"/tmp/ssh-RoB6RrXPVCnv/agent.1233","XDG_CONFIG_HOME":"/home/kamikaze/.config","XMAKE_PROGRAM_FILE":"/home/kamikaze/.local/bin/xmake","DESKTOP_SESSION":"xfce","SSH_AGENT_PID":"1362","GTK_MODULES":"canberra-gtk-module:gail:atk-bridge","XDG_SEAT":"seat0","PWD":"/home/kamikaze","XDG_SESSION_DESKTOP":"xfce","LOGNAME":"kamikaze","QT_QPA_PLATFORMTHEME":"gtk2","XDG_SESSION_TYPE":"x11","PANEL_GDK_CORE_DEVICE_EVENTS":"0","PNPM_HOME":"/home/kamikaze/.local/share/pnpm","XMAKE_PROGRAM_DIR":"/home/kamikaze/.local/share/xmake","VSCODE_CODE_CACHE_PATH":"/home/kamikaze/.config/Code/CachedData/848b80aeb52026648a8ff9f7c45a9b0a80641e2e","XAUTHORITY":"/home/kamikaze/.Xauthority","XDG_GREETER_DATA_DIR":"/var/lib/lightdm/data/kamikaze","GDM_LANG":"en_US.UTF-8","HOME":"/home/kamikaze","LANG":"en_US.UTF-8","LS_COLORS":"","XDG_CURRENT_DESKTOP":"XFCE","VSCODE_IPC_HOOK":"/run/user/1000/vscode-002fffc6-1.10-main.sock","QT_PLATFORMTHEME":"gtk2","XDG_SEAT_PATH":"/org/freedesktop/DisplayManager/Seat0","CHROME_DESKTOP":"code.desktop","XDG_CACHE_HOME":"/home/kamikaze/.cache","NVM_DIR":"/home/kamikaze/.nvm","XDG_SESSION_CLASS":"user","USER":"kamikaze","DISPLAY":":0.0","XMAKE_ROOTDIR":"/home/kamikaze/.local/bin","VSCODE_PID":"165319","SHLVL":"0","NVM_CD_FLAGS":"","VSCODE_CWD":"/home/kamikaze","XDG_VTNR":"7","XDG_SESSION_ID":"1","PAPERSIZE":"letter","XMAKE_SHELL":"bash","QT_PLATFORM_PLUGIN":"gtk2","BUN_INSTALL":"/home/kamikaze/.bun","XDG_DATA_DIRS":"/usr/share/xfce4:/home/kamikaze/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share","GDK_BACKEND":"x11","PATH":"/home/kamikaze/.deno/bin:/home/kamikaze/.local/bin:/home/kamikaze/bin:/home/kamikaze/.local/bin:/home/kamikaze/.cargo/bin:/home/kamikaze/.local/share/pnpm:/home/kamikaze/.bun/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/kamikaze/.dotnet/tools:/sbin:/usr/sbin:/home/kamikaze/.foundry/bin:/home/kamikaze/.ge-publish/bin","GDMSESSION":"xfce","ORIGINAL_XDG_CURRENT_DESKTOP":"XFCE","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","VSCODE_NLS_CONFIG":"{\"userLocale\":\"en-us\",\"osLocale\":\"en-us\",\"resolvedLanguage\":\"en\",\"defaultMessagesFile\":\"/usr/share/code/resources/app/out/nls.messages.json\",\"locale\":\"en-us\",\"availableLanguages\":{}}","QT_SCALE_FACTOR":"1","_":"/usr/share/code/code"}
2025-05-22 18:29:10.876 [trace] window#load: window reported ready (id: 1)
2025-05-22 18:29:10.876 [trace] ElectronURLListener#flush(): flushing URLs
2025-05-22 18:29:11.008 [trace] [UtilityProcess type: ptyHost, pid: <none>]: creating new...
2025-05-22 18:29:11.019 [trace] PtyHostService#_startPtyHost 
    at Iu.U (file:///usr/share/code/resources/app/out/main.js:93:3012)
    at Iu.h (file:///usr/share/code/resources/app/out/main.js:93:1515)
    at get f (file:///usr/share/code/resources/app/out/main.js:93:1465)
    at Iu.reviveTerminalProcesses (file:///usr/share/code/resources/app/out/main.js:93:6396)
    at Object.call (file:///usr/share/code/resources/app/out/main.js:33:4564)
    at Af.s (file:///usr/share/code/resources/app/out/main.js:31:20114)
    at Af.q (file:///usr/share/code/resources/app/out/main.js:31:19637)
    at Zo.value (file:///usr/share/code/resources/app/out/main.js:31:19039)
    at A.B (file:///usr/share/code/resources/app/out/main.js:30:2373)
    at A.C (file:///usr/share/code/resources/app/out/main.js:30:2443)
    at A.fire (file:///usr/share/code/resources/app/out/main.js:30:2660)
    at Zo.value (file:///usr/share/code/resources/app/out/main.js:28:4827)
    at A.B (file:///usr/share/code/resources/app/out/main.js:30:2373)
    at A.fire (file:///usr/share/code/resources/app/out/main.js:30:2591)
    at Zo.value (file:///usr/share/code/resources/app/out/main.js:28:5015)
    at A.B (file:///usr/share/code/resources/app/out/main.js:30:2373)
    at A.fire (file:///usr/share/code/resources/app/out/main.js:30:2591)
    at B (file:///usr/share/code/resources/app/out/main.js:28:7302)
    at IpcMainImpl.i (file:///usr/share/code/resources/app/out/main.js:33:21024)
    at IpcMainImpl.emit (node:events:524:28)
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:87043)
    at WebContents.emit (node:events:524:28)
2025-05-22 18:29:11.022 [trace] [UtilityProcess type: ptyHost, pid: 165470]: successfully created
2025-05-22 18:29:11.067 [trace] resolveShellEnv(): running (macOS/Linux)
2025-05-22 18:29:11.411 [trace] [UtilityProcess id: 1, type: extensionHost, pid: <none>]: creating new...
2025-05-22 18:29:11.466 [trace] [UtilityProcess id: 1, type: extensionHost, pid: 165489]: successfully created
2025-05-22 18:29:11.489 [debug] Terminal profile not validated pwsh ["pwsh"]
2025-05-22 18:29:11.490 [debug] Terminal profile not validated zsh ["zsh"]
2025-05-22 18:29:11.509 [trace] [SharedProcess] onWindowConnection for: vscode:createSharedProcessChannelConnectionResult
2025-05-22 18:29:11.510 [trace] [UtilityProcess type: shared-process, pid: <none>]: creating new...
2025-05-22 18:29:11.518 [trace] [UtilityProcess type: shared-process, pid: <none>]: payload sent via postMessage()
2025-05-22 18:29:11.520 [trace] [UtilityProcessWorker]: createWorker(window: 1, moduleId: vs/platform/files/node/watcher/watcherMain)
2025-05-22 18:29:11.522 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: <none>]: creating new...
2025-05-22 18:29:11.532 [trace] [UtilityProcess type: shared-process, pid: 165490]: successfully created
2025-05-22 18:29:11.534 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 165491]: successfully created
2025-05-22 18:29:11.942 [trace] [SharedProcess] IPC ready
2025-05-22 18:29:11.943 [trace] Main->SharedProcess#connect: connection established
2025-05-22 18:29:11.963 [trace] [File Watcher (node.js)] Request to start watching: /home/kamikaze/.config/Code/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/home/kamikaze/.config/Code/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-05-22 18:29:11.966 [trace] [File Watcher (node.js)] Started watching: '/home/kamikaze/.config/Code/User'
2025-05-22 18:29:11.967 [trace] [File Watcher (node.js)] Started watching: '/home/kamikaze/.config/Code/User/settings.json'
2025-05-22 18:29:12.025 [trace] [SharedProcess] Overall ready
2025-05-22 18:29:12.120 [trace] [File Watcher (node.js)] Request to start watching: /home/kamikaze/.vscode/extensions (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/home/kamikaze/.vscode/extensions/extensions.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-05-22 18:29:12.123 [trace] [File Watcher (node.js)] Started watching: '/home/kamikaze/.vscode/extensions'
2025-05-22 18:29:12.124 [trace] [File Watcher (node.js)] Started watching: '/home/kamikaze/.vscode/extensions/extensions.json'
2025-05-22 18:29:12.330 [trace] lifecycle (main): phase changed (value: 4)
2025-05-22 18:29:12.535 [trace] [File Watcher (node.js)] [raw] ["change"] .obsolete
2025-05-22 18:29:12.536 [trace] [File Watcher (node.js)] [CHANGED] /home/kamikaze/.vscode/extensions/.obsolete
2025-05-22 18:29:12.536 [trace] [File Watcher (node.js)] [raw] ["change"] .obsolete
2025-05-22 18:29:12.536 [trace] [File Watcher (node.js)] [CHANGED] /home/kamikaze/.vscode/extensions/.obsolete
2025-05-22 18:29:12.617 [trace] [File Watcher (node.js)]  >> normalized [CHANGED] /home/kamikaze/.vscode/extensions/.obsolete
2025-05-22 18:29:13.502 [trace] resolveShellEnv(): running (macOS/Linux)
2025-05-22 18:29:13.503 [trace] #1: https://update.code.visualstudio.com/api/update/linux-x64/stable/848b80aeb52026648a8ff9f7c45a9b0a80641e2e - begin undefined {}
2025-05-22 18:29:13.824 [trace] resolveShellEnv(): running (macOS/Linux)
2025-05-22 18:29:13.938 [debug] Terminal profile not validated zsh ["zsh"]
2025-05-22 18:29:13.939 [debug] Terminal profile not validated pwsh ["pwsh"]
2025-05-22 18:29:14.225 [trace] #1: https://update.code.visualstudio.com/api/update/linux-x64/stable/848b80aeb52026648a8ff9f7c45a9b0a80641e2e - end undefined 204 {"access-control-allow-origin":"*","date":"Thu, 22 May 2025 15:29:14 GMT","request-context":"appId=cid-v1:8109e553-6232-492a-afca-b78cea9b431c","strict-transport-security":"max-age=31536000; includeSubDomains","x-azure-ref":"20250522T152914Z-1847b89fc49qm2qmhC1JNBn1f8000000048g00000000k8b7","x-cache":"CONFIG_NOCACHE","x-content-type-options":"nosniff","x-powered-by":"Express","x-source-commit":"52c757d6039fc7b9fc4b210aec30978ae2805866"}
2025-05-22 18:29:15.359 [trace] [EncryptionMainService] Checking if encryption is available...
2025-05-22 18:29:15.406 [trace] [EncryptionMainService] Encryption is available:  true
2025-05-22 18:29:15.608 [trace] [EncryptionMainService] Decrypting value...
2025-05-22 18:29:15.609 [trace] [EncryptionMainService] Decrypted value.
2025-05-22 18:29:16.161 [debug] ProxyResolver#loadSystemCertificates count 140
2025-05-22 18:29:16.170 [debug] ProxyResolver#loadSystemCertificates count filtered 136
2025-05-22 18:29:19.009 [debug] ProfileStorageChangesListenerChannel#registerStorageChangeListeners
2025-05-22 18:29:19.012 [trace] [File Watcher (node.js)] Request to start watching: /home/kamikaze/.config/Code/User/snippets (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-05-22 18:29:19.019 [trace] [File Watcher (node.js)] Started watching: '/home/kamikaze/.config/Code/User/snippets'
2025-05-22 18:29:39.855 [trace] update#checkForUpdates, state =  idle
2025-05-22 18:29:39.855 [info] update#setState checking for updates
2025-05-22 18:29:39.856 [trace] resolveShellEnv(): running (macOS/Linux)
2025-05-22 18:29:39.856 [trace] #2: https://update.code.visualstudio.com/api/update/linux-x64/stable/848b80aeb52026648a8ff9f7c45a9b0a80641e2e?bg=true - begin undefined {}
2025-05-22 18:29:40.123 [trace] #2: https://update.code.visualstudio.com/api/update/linux-x64/stable/848b80aeb52026648a8ff9f7c45a9b0a80641e2e?bg=true - end undefined 204 {"access-control-allow-origin":"*","date":"Thu, 22 May 2025 15:29:40 GMT","request-context":"appId=cid-v1:8109e553-6232-492a-afca-b78cea9b431c","strict-transport-security":"max-age=31536000; includeSubDomains","x-azure-ref":"20250522T152939Z-1847b89fc49qm2qmhC1JNBn1f8000000048g00000000karc","x-cache":"CONFIG_NOCACHE","x-content-type-options":"nosniff","x-powered-by":"Express","x-source-commit":"52c757d6039fc7b9fc4b210aec30978ae2805866"}
2025-05-22 18:29:40.124 [info] update#setState idle
2025-05-22 18:30:34.208 [trace] [EncryptionMainService] Decrypting value...
2025-05-22 18:30:34.208 [trace] [EncryptionMainService] Decrypted value.

kamikazechaser avatar May 22 '25 15:05 kamikazechaser

This seems relevant:

2025-05-22 18:29:10.203 [trace] getUnixShellEnvironment#stderr bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

Is bash configured properly on this setup to run commands?

bpasero avatar May 22 '25 15:05 bpasero

@bpasero No it isn't. I found this setting https://code.visualstudio.com/docs/terminal/shell-integration#_automatic-script-injection which correctly configures fish to run on vscode when enabled. This seems to fix it. Thanks!

kamikazechaser avatar May 23 '25 06:05 kamikazechaser

@kamikazechaser hm, but I would not expect that to have an impact for this kind of problem, can you clarify exactly what you did and how bash was configured before? Maybe I could try to reproduce.

bpasero avatar May 23 '25 06:05 bpasero

but I would not expect that to have an impact for this kind of problem

You are right, it seems to have no effect. Every time I open it from Whisker menu, I always get that error. If I launch it with code . from the terminal, then it is possible to start the MCP server. However previously, launching from the terminal didn't work either. Now that works even after a restart. I updated node lts today via nvm, not sure if that triggered some change.

I'll keep trying it for a few days with other node related MCP servers and report back

kamikazechaser avatar May 23 '25 10:05 kamikazechaser

@kamikazechaser the key difference is that when you run from a terminal, we do not attempt to resolve any shell environment, we just inherit the one from where you launched from. But if you run VS Code from a UI element, such as the dock or task bar, we do the resolution.

Do you normally use bash, does bash start for you when you try without errors?

bpasero avatar May 23 '25 10:05 bpasero

I don't use bash at all. Probably once every few months. Yes bash launches without error and most things are available in path (npx, node). Do you want me to post my .bashrc, .profile, config.fish?

kamikazechaser avatar May 23 '25 10:05 kamikazechaser

@kamikazechaser maybe that error in the log is actually a red herring because the result of this call:

/bin/bash -i -l -c /usr/share/code/code -p '"26f12dfdbc05" + JSON.stringify(process.env) + "26f12dfdbc05"'

seems to result in the following PATH variable:

"PATH":"/home/kamikaze/.deno/bin:/home/kamikaze/.local/bin:/home/kamikaze/bin:/home/kamikaze/.local/bin:/home/kamikaze/.cargo/bin:/home/kamikaze/.local/share/pnpm:/home/kamikaze/.bun/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/kamikaze/.dotnet/tools:/sbin:/usr/sbin:/home/kamikaze/.foundry/bin:/home/kamikaze/.ge-publish/bin",

Can you confirm that node is on one of these paths?

bpasero avatar May 23 '25 11:05 bpasero

Can you confirm that node is on one of these paths?

It isn't in any of those

kamikazechaser avatar May 24 '25 06:05 kamikazechaser

@kamikazechaser so is bash not the terminal you have a profile for? Is it fish? I wonder if we detect your default shell wrongly?

bpasero avatar May 24 '25 07:05 bpasero

so is bash not the terminal you have a profile for?

correct. It is fish.

kamikazechaser avatar May 25 '25 06:05 kamikazechaser

And is it set as environment variable SHELL?

bpasero avatar May 25 '25 18:05 bpasero

It was set to /bin/bash. I have now set it to fish. I think that may have been the reason. Starting it from Whisker menu now works.

kamikazechaser avatar May 26 '25 05:05 kamikazechaser

@bpasero i have the same issue, my $SHELL variable points to /usr/bin/fish.

log from the Main Output window:

log

2025-06-22 14:17:48.385 [trace] [File Watcher (node.js)] Request to start watching: /home/bnn1/.config/Code/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/home/bnn1/.config/Code/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-06-22 14:17:48.385 [debug] Starting VS Code
2025-06-22 14:17:48.385 [debug] from: /opt/visual-studio-code/resources/app
2025-06-22 14:17:48.385 [debug] args: {"_":[],"diff":false,"merge":false,"add":false,"remove":false,"goto":false,"new-window":false,"reuse-window":false,"wait":false,"help":false,"list-extensions":false,"show-versions":false,"pre-release":false,"update-extensions":false,"version":false,"verbose":false,"log":["trace"],"status":false,"prof-startup":false,"no-cached-data":false,"prof-v8-extensions":false,"disable-extensions":false,"disable-lcd-text":false,"disable-gpu":false,"disable-chromium-sandbox":false,"sandbox":false,"telemetry":false,"debugRenderer":false,"enable-smoke-test-driver":false,"logExtensionHostCommunication":false,"skip-release-notes":false,"skip-welcome":false,"disable-telemetry":false,"disable-updates":false,"use-inmemory-secretstorage":false,"disable-workspace-trust":false,"disable-crash-reporter":false,"crash-reporter-id":"01aaef76-604a-4730-8eb2-d6fabca43544","skip-add-to-recently-opened":false,"open-url":false,"file-write":false,"file-chmod":false,"force":false,"do-not-sync":false,"do-not-include-pack-dependencies":false,"trace":false,"trace-memory-infra":false,"preserve-env":false,"force-user-env":false,"force-disable-user-env":false,"open-devtools":false,"disable-gpu-sandbox":false,"__enable-file-policy":false,"enable-coi":false,"enable-rdp-display-tracking":false,"no-proxy-server":false,"no-sandbox":false,"nolazy":false,"force-renderer-accessibility":false,"ignore-certificate-errors":false,"allow-insecure-localhost":false,"disable-dev-shm-usage":false,"profile-temp":false,"logsPath":"/home/bnn1/.config/Code/logs/20250622T141748"}
2025-06-22 14:17:48.385 [trace] Resolving machine identifier...
2025-06-22 14:17:48.385 [trace] Resolved machine identifier: 24b1e52e352f0aa7887c72c542e1b6875b5b2f87366f662a1af4995e0f60f716
2025-06-22 14:17:48.385 [trace] Main->SharedProcess#connect
2025-06-22 14:17:48.385 [trace] [File Watcher (node.js)] Started watching: '/home/bnn1/.config/Code/User'
2025-06-22 14:17:48.386 [trace] [EncryptionMainService] setting usePlainTextEncryption to true...
2025-06-22 14:17:48.386 [trace] [EncryptionMainService] set usePlainTextEncryption to true
2025-06-22 14:17:48.387 [trace] StorageMainService: creating application storage
2025-06-22 14:17:48.390 [trace] ElectronURLListener: waiting for window to be ready to handle URLs...
2025-06-22 14:17:48.390 [trace] lifecycle (main): phase changed (value: 2)
2025-06-22 14:17:48.391 [trace] windowsManager#open
2025-06-22 14:17:48.391 [trace] [File Watcher (node.js)] Started watching: '/home/bnn1/.config/Code/User/settings.json'
2025-06-22 14:17:48.393 [trace] windowsManager#open pathsToOpen [{"workspace":{"id":"47b40c561da1588e22edf377bb8eb0d3","uri":{"$mid":1,"fsPath":"/home/bnn1/Development/wm-setup","path":"/home/bnn1/Development/wm-setup","scheme":"file"}},"type":2,"exists":true}]
2025-06-22 14:17:48.393 [trace] windowsManager#doOpenFolderOrWorkspace {"folderOrWorkspace":{"workspace":{"id":"47b40c561da1588e22edf377bb8eb0d3","uri":{"$mid":1,"fsPath":"/home/bnn1/Development/wm-setup","external":"file:///home/bnn1/Development/wm-setup","path":"/home/bnn1/Development/wm-setup","scheme":"file"}},"type":2,"exists":true}}
2025-06-22 14:17:48.395 [trace] IPC Object URL: Registered new channel vscode:aec33eb7-9ed2-41e0-ac7e-280f081a071c.
2025-06-22 14:17:48.395 [trace] window#validateWindowState: validating window state on 1 display(s) {"mode":1,"x":14,"y":14,"width":1892,"height":1052}
2025-06-22 14:17:48.395 [trace] window#validateWindowState: single monitor working area {"x":0,"y":0,"width":1920,"height":1080}
2025-06-22 14:17:48.395 [trace] window#ctor: using window state {"mode":1,"x":14,"y":14,"width":1892,"height":1052}
2025-06-22 14:17:48.444 [trace] window#load: attempt to load window (id: 1)
2025-06-22 14:17:48.448 [trace] StorageMainService: creating workspace storage (47b40c561da1588e22edf377bb8eb0d3)
2025-06-22 14:17:48.449 [trace] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 1, emptyToRestore: 0, maybeOpenEmptyWindow: false)
2025-06-22 14:17:48.449 [trace] lifecycle (main): phase changed (value: 3)
2025-06-22 14:17:48.449 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-06-22 14:17:48.450 [info] update#setState idle
2025-06-22 14:17:48.503 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-06-22 14:17:49.189 [trace] window#load: window reported ready (id: 1)
2025-06-22 14:17:49.190 [trace] ElectronURLListener#flush(): flushing URLs
2025-06-22 14:17:49.497 [trace] [SharedProcess] onWindowConnection for: vscode:createSharedProcessChannelConnectionResult
2025-06-22 14:17:49.499 [trace] [UtilityProcess type: shared-process, pid: <none>]: creating new...
2025-06-22 14:17:49.507 [trace] [UtilityProcess type: shared-process, pid: <none>]: payload sent via postMessage()
2025-06-22 14:17:49.508 [trace] [UtilityProcessWorker]: createWorker(window: 1, moduleId: vs/platform/files/node/watcher/watcherMain)
2025-06-22 14:17:49.509 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: <none>]: creating new...
2025-06-22 14:17:49.532 [trace] [UtilityProcess id: 1, type: extensionHost, pid: <none>]: creating new...
2025-06-22 14:17:49.542 [trace] [UtilityProcess type: shared-process, pid: 13457]: successfully created
2025-06-22 14:17:49.543 [trace] [UtilityProcess id: 1, type: fileWatcher, pid: 13458]: successfully created
2025-06-22 14:17:49.543 [trace] [UtilityProcess id: 1, type: extensionHost, pid: 13459]: successfully created
2025-06-22 14:17:49.800 [trace] [SharedProcess] IPC ready
2025-06-22 14:17:49.801 [trace] Main->SharedProcess#connect: connection established
2025-06-22 14:17:49.817 [trace] [File Watcher (node.js)] Request to start watching: /home/bnn1/.config/Code/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/home/bnn1/.config/Code/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-06-22 14:17:49.838 [trace] [File Watcher (node.js)] Started watching: '/home/bnn1/.config/Code/User'
2025-06-22 14:17:49.845 [trace] [SharedProcess] Overall ready
2025-06-22 14:17:49.847 [trace] [File Watcher (node.js)] Started watching: '/home/bnn1/.config/Code/User/settings.json'
2025-06-22 14:17:49.902 [trace] [File Watcher (node.js)] Request to start watching: /home/bnn1/.vscode/extensions (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/home/bnn1/.vscode/extensions/extensions.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
2025-06-22 14:17:49.903 [trace] [File Watcher (node.js)] Started watching: '/home/bnn1/.vscode/extensions'
2025-06-22 14:17:49.903 [trace] [File Watcher (node.js)] Started watching: '/home/bnn1/.vscode/extensions/extensions.json'
2025-06-22 14:17:50.301 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-06-22 14:17:50.394 [trace] [UtilityProcess type: ptyHost, pid: <none>]: creating new...
2025-06-22 14:17:50.402 [trace] PtyHostService#_startPtyHost 
    at Iu.U (file:///opt/visual-studio-code/resources/app/out/main.js:93:3012)
    at Iu.h (file:///opt/visual-studio-code/resources/app/out/main.js:93:1515)
    at get f (file:///opt/visual-studio-code/resources/app/out/main.js:93:1465)
    at Iu.reviveTerminalProcesses (file:///opt/visual-studio-code/resources/app/out/main.js:93:6396)
    at Object.call (file:///opt/visual-studio-code/resources/app/out/main.js:33:4564)
    at Cf.s (file:///opt/visual-studio-code/resources/app/out/main.js:31:14831)
    at Cf.q (file:///opt/visual-studio-code/resources/app/out/main.js:31:14354)
    at Yo.value (file:///opt/visual-studio-code/resources/app/out/main.js:31:13756)
    at D.B (file:///opt/visual-studio-code/resources/app/out/main.js:30:2373)
    at D.C (file:///opt/visual-studio-code/resources/app/out/main.js:30:2443)
    at D.fire (file:///opt/visual-studio-code/resources/app/out/main.js:30:2660)
    at Yo.value (file:///opt/visual-studio-code/resources/app/out/main.js:28:4827)
    at D.B (file:///opt/visual-studio-code/resources/app/out/main.js:30:2373)
    at D.fire (file:///opt/visual-studio-code/resources/app/out/main.js:30:2591)
    at Yo.value (file:///opt/visual-studio-code/resources/app/out/main.js:28:5015)
    at D.B (file:///opt/visual-studio-code/resources/app/out/main.js:30:2373)
    at D.fire (file:///opt/visual-studio-code/resources/app/out/main.js:30:2591)
    at z (file:///opt/visual-studio-code/resources/app/out/main.js:28:7309)
    at IpcMainImpl.i (file:///opt/visual-studio-code/resources/app/out/main.js:33:21024)
    at IpcMainImpl.emit (node:events:518:28)
    at WebContents.<anonymous> (node:electron/js2c/browser_init:2:88892)
    at WebContents.emit (node:events:518:28)
2025-06-22 14:17:50.408 [trace] [UtilityProcess type: ptyHost, pid: 13507]: successfully created
2025-06-22 14:17:50.420 [debug] Terminal profile not validated tmux ["tmux"]
2025-06-22 14:17:50.421 [debug] Terminal profile not validated zsh ["zsh"]
2025-06-22 14:17:50.421 [debug] Terminal profile not validated pwsh ["pwsh"]
2025-06-22 14:17:50.907 [trace] [EncryptionMainService] Checking if encryption is available...
2025-06-22 14:17:50.908 [trace] [EncryptionMainService] Encryption is available:  true
2025-06-22 14:17:50.912 [trace] [EncryptionMainService] Decrypting value...
2025-06-22 14:17:50.912 [trace] [EncryptionMainService] Decrypted value.
2025-06-22 14:17:50.951 [trace] lifecycle (main): phase changed (value: 4)
2025-06-22 14:17:51.063 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-06-22 14:17:51.064 [trace] #1: https://update.code.visualstudio.com/api/update/linux-x64/stable/18e3a1ec544e6907be1e944a94c496e302073435 - begin undefined {}
2025-06-22 14:17:51.223 [debug] ProxyResolver#loadSystemCertificates count 143
2025-06-22 14:17:51.224 [debug] ProxyResolver#loadSystemCertificates parse error Error: error:0900006e:PEM routines:OPENSSL_internal:NO_START_LINE
    at new X509Certificate (node:internal/crypto/x509:119:21)
    at /opt/visual-studio-code/resources/app/node_modules/@vscode/proxy-agent/out/index.js:742:48
    at Array.filter (<anonymous>)
    at Module.<anonymous> (/opt/visual-studio-code/resources/app/node_modules/@vscode/proxy-agent/out/index.js:740:26)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/visual-studio-code/resources/app/node_modules/@vscode/proxy-agent/out/index.js:32:58)
2025-06-22 14:17:51.230 [debug] ProxyResolver#loadSystemCertificates count filtered 142
2025-06-22 14:17:51.412 [trace] #1: https://update.code.visualstudio.com/api/update/linux-x64/stable/18e3a1ec544e6907be1e944a94c496e302073435 - end undefined 204 {"access-control-allow-origin":"*","date":"Sun, 22 Jun 2025 12:17:51 GMT","request-context":"appId=cid-v1:8109e553-6232-492a-afca-b78cea9b431c","strict-transport-security":"max-age=31536000; includeSubDomains","x-azure-ref":"20250622T121751Z-186565c454f69cg7hC1PRGsu8c0000000ayg00000000bg21","x-cache":"CONFIG_NOCACHE","x-content-type-options":"nosniff","x-powered-by":"Express","x-source-commit":"52c757d6039fc7b9fc4b210aec30978ae2805866"}
2025-06-22 14:17:52.300 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-06-22 14:17:52.310 [debug] Terminal profile not validated zsh ["zsh"]
2025-06-22 14:17:52.310 [debug] Terminal profile not validated tmux ["tmux"]
2025-06-22 14:17:52.310 [debug] Terminal profile not validated pwsh ["pwsh"]
2025-06-22 14:18:03.692 [trace] [EncryptionMainService] Decrypting value...
2025-06-22 14:18:03.692 [trace] [EncryptionMainService] Decrypted value.
2025-06-22 14:18:18.451 [trace] update#checkForUpdates, state =  idle
2025-06-22 14:18:18.451 [info] update#setState checking for updates
2025-06-22 14:18:18.452 [trace] resolveShellEnv(): skipped (VSCODE_CLI is set)
2025-06-22 14:18:18.452 [trace] #2: https://update.code.visualstudio.com/api/update/linux-x64/stable/18e3a1ec544e6907be1e944a94c496e302073435?bg=true - begin undefined {}
2025-06-22 14:18:18.504 [trace] #2: https://update.code.visualstudio.com/api/update/linux-x64/stable/18e3a1ec544e6907be1e944a94c496e302073435?bg=true - end undefined 204 {"access-control-allow-origin":"*","date":"Sun, 22 Jun 2025 12:18:18 GMT","request-context":"appId=cid-v1:8109e553-6232-492a-afca-b78cea9b431c","strict-transport-security":"max-age=31536000; includeSubDomains","x-azure-ref":"20250622T121818Z-186565c454f69cg7hC1PRGsu8c0000000ayg00000000bsap","x-cache":"CONFIG_NOCACHE","x-content-type-options":"nosniff","x-powered-by":"Express","x-source-commit":"52c757d6039fc7b9fc4b210aec30978ae2805866"}
2025-06-22 14:18:18.504 [info] update#setState idle

In Fish, the PATH variable looks like this: /home/bnn1/.local/share/nvm/v24.2.0/bin /usr/local/sbin /usr/local/bin /usr/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /home/bnn1/.config/Code/User/globalStorage/github.copilot-chat/debugCommand - it's space separated list of strings.

Can it be the case that the parsing of PATH env for fish is broken?

Code version:

Version: 1.101.1
Commit: 18e3a1ec544e6907be1e944a94c496e302073435
Date: 2025-06-18T13:35:12.605Z
Electron: 35.5.1
ElectronBuildId: 11727614
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Linux x64 6.15.3-arch1-1

bnn1 avatar Jun 22 '25 12:06 bnn1