microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.27k stars 29.31k forks source link

1.74.0 Typescript Intellisense not working in WSL2 #169105

Closed rahcusa closed 1 year ago

rahcusa commented 1 year ago

Type: Bug

VSCode 1.74.0 + when opening project in WSL2 - Typescript Intellisense does not work Additionally under Extensions > @Builtin > TypeScript and JavaScript Language Features the Runtime Status remains 'Not Activated'`

VS Code version: Code 1.74.0 (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T16:38:16.075Z) OS version: Windows_NT x64 10.0.19044 Modes: Sandboxed: No Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 x 2304)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|31.73GB (17.62GB free)| |Process Argv|--folder-uri=vscode-remote://wsl+Ubuntu-20.04/home/asuchar/build/worktrees/fedex/br_1-0_cmd_palette2 --remote=wsl+Ubuntu-20.04 --crash-reporter-id 989402c8-7cef-4366-98f0-a77ce1848176| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-20.04| |OS|Linux x64 5.10.16.3-microsoft-standard-WSL2| |CPUs|11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (4 x 2304)| |Memory (System)|19.55GB (18.41GB free)| |VM|0%|
Extensions (1) Extension|Author (truncated)|Version ---|---|--- remote-wsl|ms-|0.72.0
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 vscorecescf:30445987 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 vsccc:30610678 pyindex848cf:30577861 nodejswelcome1cf:30587006 282f8724:30602487 gswce1:30612156 3d0df643:30613357 dbltrim-noruby:30604474 89544117:30613380 fim-prod:30623723 ```

[2022-12-14 08:04:19.425] Server install found in WSL
[2022-12-14 08:04:19.425] Launching C:\Windows\System32\wsl.exe -d Ubuntu-20.04 sh -c 'env && VSCODE_WSL_DEBUG_INFO=true "$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 5235c6bb189b60b01b1f49062f4ffa42384f8c91 stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=977702929-996179164-3942340326-4281803931 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --log=trace --telemetry-level=all', cwd: undefined, env: {
[2022-12-14 08:04:19.425]   "ALLUSERSPROFILE": "C:\\ProgramData",
[2022-12-14 08:04:19.425]   "APPDATA": "C:\\Users\\rahcusa\\AppData\\Roaming",
[2022-12-14 08:04:19.425]   "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
[2022-12-14 08:04:19.425]   "CHROME_CRASHPAD_PIPE_NAME": "\\\\.\\pipe\\LOCAL\\crashpad_7612_AILIOPTKFJDOWNFA",
[2022-12-14 08:04:19.425]   "CommonProgramFiles": "C:\\Program Files\\Common Files",
[2022-12-14 08:04:19.425]   "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
[2022-12-14 08:04:19.425]   "CommonProgramW6432": "C:\\Program Files\\Common Files",
[2022-12-14 08:04:19.425]   "COMPUTERNAME": "VAN-200000-LT0",
[2022-12-14 08:04:19.425]   "ComSpec": "C:\\Windows\\system32\\cmd.exe",
[2022-12-14 08:04:19.425]   "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
[2022-12-14 08:04:19.425]   "HOMEDRIVE": "C:",
[2022-12-14 08:04:19.425]   "HOMEPATH": "\\Users\\rahcusa",
[2022-12-14 08:04:19.425]   "LOCALAPPDATA": "C:\\Users\\rahcusa\\AppData\\Local",
[2022-12-14 08:04:19.425]   "LOGONSERVER": "\\\\OTT-TAC-DC1",
[2022-12-14 08:04:19.425]   "NUMBER_OF_PROCESSORS": "16",
[2022-12-14 08:04:19.425]   "OneDrive": "C:\\Users\\rahcusa\\OneDrive - Fortinet",
[2022-12-14 08:04:19.425]   "OneDriveCommercial": "C:\\Users\\rahcusa\\OneDrive - Fortinet",
[2022-12-14 08:04:19.425]   "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
[2022-12-14 08:04:19.425]   "OS": "Windows_NT",
[2022-12-14 08:04:19.425]   "Path": "C:\\Program Files\\WindowsApps\\CanonicalGroupLimited.Ubuntu20.04LTS_2004.5.11.0_x64__79rhkp1fndgsc;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Users\\rahcusa\\AppData\\Local\\Microsoft\\WindowsApps",
[2022-12-14 08:04:19.425]   "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
[2022-12-14 08:04:19.425]   "PROCESSOR_ARCHITECTURE": "AMD64",
[2022-12-14 08:04:19.426]   "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 141 Stepping 1, GenuineIntel",
[2022-12-14 08:04:19.426]   "PROCESSOR_LEVEL": "6",
[2022-12-14 08:04:19.426]   "PROCESSOR_REVISION": "8d01",
[2022-12-14 08:04:19.426]   "ProgramData": "C:\\ProgramData",
[2022-12-14 08:04:19.426]   "ProgramFiles": "C:\\Program Files",
[2022-12-14 08:04:19.426]   "ProgramFiles(x86)": "C:\\Program Files (x86)",
[2022-12-14 08:04:19.426]   "ProgramW6432": "C:\\Program Files",
[2022-12-14 08:04:19.426]   "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",
[2022-12-14 08:04:19.426]   "PUBLIC": "C:\\Users\\Public",
[2022-12-14 08:04:19.426]   "SystemDrive": "C:",
[2022-12-14 08:04:19.426]   "SystemRoot": "C:\\Windows",
[2022-12-14 08:04:19.426]   "TEMP": "C:\\Users\\rahcusa\\AppData\\Local\\Temp",
[2022-12-14 08:04:19.426]   "TMP": "C:\\Users\\rahcusa\\AppData\\Local\\Temp",
[2022-12-14 08:04:19.426]   "USERDNSDOMAIN": "FORTINET-US.COM",
[2022-12-14 08:04:19.426]   "USERDOMAIN": "FORTINET-US",
[2022-12-14 08:04:19.426]   "USERDOMAIN_ROAMINGPROFILE": "FORTINET-US",
[2022-12-14 08:04:19.426]   "USERNAME": "rahcusa",
[2022-12-14 08:04:19.426]   "USERPROFILE": "C:\\Users\\rahcusa",
[2022-12-14 08:04:19.426]   "windir": "C:\\Windows",
[2022-12-14 08:04:19.426]   "WSLENV": "VSCODE_WSL_EXT_LOCATION/up:VSCODE_CLI_REMOTE_ENV/w:ELECTRON_RUN_AS_NODE/w:",
[2022-12-14 08:04:19.426]   "ZES_ENABLE_SYSMAN": "1",
[2022-12-14 08:04:19.426]   "VSCODE_WSL_EXT_LOCATION": "c:\\Users\\rahcusa\\.vscode\\extensions\\ms-vscode-remote.remote-wsl-0.72.0"
[2022-12-14 08:04:19.426] }
[2022-12-14 08:04:19.100] Resolving wsl+Ubuntu-20.04, resolveAttempt: 1
[2022-12-14 08:04:19.136] Starting VS Code Server inside WSL (wsl2)
[2022-12-14 08:04:19.136] Extension version: 0.72.0
[2022-12-14 08:04:19.136] Windows build: 19044. Multi distro support: available. WSL path support: enabled
[2022-12-14 08:04:19.221] Using shell environment from invoking shell: /tmp/vscode-distro-env.qNX5IW
[2022-12-14 08:04:19.335] WSL daemon log file: c:\Users\rahcusa\AppData\Roaming\Code\logs\20221214T000418\window1\exthost\ms-vscode-remote.remote-wsl\wsl-daemon-20221214T080419.log
[2022-12-14 08:04:19.336] Probing if server is already installed: C:\Windows\System32\wsl.exe -d Ubuntu-20.04 -e sh -c "[ -d ~/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91 ] && printf found || ([ -f /etc/alpine-release ] && printf alpine-; uname -m)"
[2022-12-14 08:04:19.642] USER=rahcusa
[2022-12-14 08:04:19.642] VSCODE_WSL_EXT_LOCATION=/mnt/c/Users/rahcusa/.vscode/extensions/ms-vscode-remote.remote-wsl-0.72.0
[2022-12-14 08:04:19.642] SHLVL=0
[2022-12-14 08:04:19.642] HOME=/home/rahcusa
[2022-12-14 08:04:19.642] WSL_DISTRO_NAME=Ubuntu-20.04
[2022-12-14 08:04:19.642] LOGNAME=rahcusa
[2022-12-14 08:04:19.642] NAME=VAN-200000-LT0
[2022-12-14 08:04:19.642] WSL_INTEROP=/run/WSL/14464_interop
[2022-12-14 08:04:19.642] _=/usr/bin/sh
[2022-12-14 08:04:19.642] TERM=xterm-256color
[2022-12-14 08:04:19.642] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib
[2022-12-14 08:04:19.642] LANG=C.UTF-8
[2022-12-14 08:04:19.642] SHELL=/bin/bash
[2022-12-14 08:04:19.642] PWD=/mnt/c/Users/rahcusa/AppData/Local/Programs/Microsoft VS Code
[2022-12-14 08:04:19.642] HOSTTYPE=x86_64
[2022-12-14 08:04:19.642] WSLENV=VSCODE_WSL_EXT_LOCATION/up:VSCODE_CLI_REMOTE_ENV/w:ELECTRON_RUN_AS_NODE/w:
[2022-12-14 08:04:19.642] Setting up server environment: Looking for /home/rahcusa/.vscode-server/server-env-setup. Not found.
[2022-12-14 08:04:19.642] WSL version: 5.10.16.3-microsoft-standard-WSL2 Ubuntu-20.04
[2022-12-14 08:04:19.642] WSL-shell-PID: 14467
[2022-12-14 08:04:19.642] Node executable: /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node
[2022-12-14 08:04:19.642] Starting server: /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/bin/code-server --host=127.0.0.1 --port=0 --connection-token=977702929-996179164-3942340326-4281803931 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --log=trace --telemetry-level=all
[2022-12-14 08:04:19.642] *
[2022-12-14 08:04:19.642] * Visual Studio Code Server
[2022-12-14 08:04:19.642] *
[2022-12-14 08:04:19.642] * By using the software, you agree to
[2022-12-14 08:04:19.642] * the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
[2022-12-14 08:04:19.642] * the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
[2022-12-14 08:04:19.642] *
[2022-12-14 08:04:19.642] Server bound to 127.0.0.1:35585 (IPv4)
[2022-12-14 08:04:19.642] Extension host agent listening on 35585
[2022-12-14 08:04:19.642] 
[2022-12-14 08:04:19.642] [00:04:19] Remote configuration data at /home/rahcusa/.vscode-server
[2022-12-14 08:04:19.642] [00:04:19] process arguments: {
[2022-12-14 08:04:19.642]   _: [],
[2022-12-14 08:04:19.642]   host: '127.0.0.1',
[2022-12-14 08:04:19.642]   port: '0',
[2022-12-14 08:04:19.642]   'connection-token': '977702929-996179164-3942340326-4281803931',
[2022-12-14 08:04:19.642]   'without-connection-token': false,
[2022-12-14 08:04:19.642]   'disable-websocket-compression': true,
[2022-12-14 08:04:19.642]   'print-startup-performance': false,
[2022-12-14 08:04:19.642]   'print-ip-address': false,
[2022-12-14 08:04:19.642]   'accept-server-license-terms': true,
[2022-12-14 08:04:19.642]   'telemetry-level': 'all',
[2022-12-14 08:04:19.642]   'enable-smoke-test-driver': false,
[2022-12-14 08:04:19.642]   'disable-telemetry': false,
[2022-12-14 08:04:19.642]   'disable-workspace-trust': false,
[2022-12-14 08:04:19.642]   log: [ 'trace' ],
[2022-12-14 08:04:19.642]   'force-disable-user-env': false,
[2022-12-14 08:04:19.642]   'enable-sync': false,
[2022-12-14 08:04:19.642]   'list-extensions': false,
[2022-12-14 08:04:19.642]   'show-versions': false,
[2022-12-14 08:04:19.642]   force: false,
[2022-12-14 08:04:19.642]   'do-not-sync': false,
[2022-12-14 08:04:19.642]   'pre-release': false,
[2022-12-14 08:04:19.643]   'start-server': false,
[2022-12-14 08:04:19.643]   'enable-remote-auto-shutdown': false,
[2022-12-14 08:04:19.643]   'remote-auto-shutdown-without-delay': false,
[2022-12-14 08:04:19.643]   'use-host-proxy': true,
[2022-12-14 08:04:19.643]   'without-browser-env-var': true,
[2022-12-14 08:04:19.643]   help: false,
[2022-12-14 08:04:19.643]   version: false,
[2022-12-14 08:04:19.643]   'user-data-dir': '/home/rahcusa/.vscode-server/data',
[2022-12-14 08:04:19.643]   'builtin-extensions-dir': '/home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/extensions',
[2022-12-14 08:04:19.643]   'extensions-dir': '/home/rahcusa/.vscode-server/extensions',
[2022-12-14 08:04:19.643]   logsPath: '/home/rahcusa/.vscode-server/data/logs/20221214T000419'
[2022-12-14 08:04:19.643] }
[2022-12-14 08:04:19.643] [00:04:19] [File Watcher (node.js)] Request to start watching: /home/rahcusa/.vscode-server/data/Machine (excludes: <none>, includes: <all>),/home/rahcusa/.vscode-server/data/Machine/settings.json (excludes: <none>, includes: <all>)
[2022-12-14 08:04:19.643] [00:04:19] resolveShellEnv(): running (macOS/Linux)
[2022-12-14 08:04:19.643] [00:04:19] getUnixShellEnvironment#runAsNode undefined
[2022-12-14 08:04:19.643] [00:04:19] getUnixShellEnvironment#noAttach undefined
[2022-12-14 08:04:19.643] [00:04:19] getUnixShellEnvironment#env {
[2022-12-14 08:04:19.643]   USER: 'rahcusa',
[2022-12-14 08:04:19.643]   VSCODE_WSL_EXT_LOCATION: '/mnt/c/Users/rahcusa/.vscode/extensions/ms-vscode-remote.remote-wsl-0.72.0',
[2022-12-14 08:04:19.643]   SHLVL: '0',
[2022-12-14 08:04:19.643]   HOME: '/home/rahcusa',
[2022-12-14 08:04:19.643]   WSL_DISTRO_NAME: 'Ubuntu-20.04',
[2022-12-14 08:04:19.643]   LOGNAME: 'rahcusa',
[2022-12-14 08:04:19.643]   VSCODE_WSL_DEBUG_INFO: 'true',
[2022-12-14 08:04:19.643]   NAME: 'VAN-200000-LT0',
[2022-12-14 08:04:19.643]   WSL_INTEROP: '/run/WSL/14464_interop',
[2022-12-14 08:04:19.643]   _: '/usr/bin/sh',
[2022-12-14 08:04:19.643]   TERM: 'xterm-256color',
[2022-12-14 08:04:19.643]   PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib',
[2022-12-14 08:04:19.643]   LANG: 'C.UTF-8',
[2022-12-14 08:04:19.643]   SHELL: '/bin/bash',
[2022-12-14 08:04:19.643]   PWD: '/mnt/c/Users/rahcusa/AppData/Local/Programs/Microsoft VS Code',
[2022-12-14 08:04:19.643]   HOSTTYPE: 'x86_64',
[2022-12-14 08:04:19.643]   WSLENV: 'VSCODE_WSL_EXT_LOCATION/up:VSCODE_CLI_REMOTE_ENV/w:ELECTRON_RUN_AS_NODE/w:',
[2022-12-14 08:04:19.643]   VSCODE_HANDLES_SIGPIPE: 'true',
[2022-12-14 08:04:19.643]   ELECTRON_RUN_AS_NODE: '1',
[2022-12-14 08:04:19.643]   ELECTRON_NO_ATTACH_CONSOLE: '1'
[2022-12-14 08:04:19.643] }
[2022-12-14 08:04:19.643] [00:04:19] getUnixShellEnvironment#shell /bin/bash
[2022-12-14 08:04:19.643] [00:04:19] getUnixShellEnvironment#spawn ["-ilc"] '/home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node'  -p '"1ba9a88711fc" + JSON.stringify(process.env) + "1ba9a88711fc"'
[2022-12-14 08:04:19.643] [00:04:19] Extension host agent started.
[2022-12-14 08:04:19.643] [00:04:19] Started scanning user extensions g {
[2022-12-14 08:04:19.643]   scheme: 'file',
[2022-12-14 08:04:19.643]   authority: '',
[2022-12-14 08:04:19.643]   path: '/home/rahcusa/.vscode-server/extensions',
[2022-12-14 08:04:19.643]   query: '',
[2022-12-14 08:04:19.643]   fragment: '',
[2022-12-14 08:04:19.643]   _formatted: null,
[2022-12-14 08:04:19.643]   _fsPath: '/home/rahcusa/.vscode-server/extensions'
[2022-12-14 08:04:19.643] }
[2022-12-14 08:04:19.643] [00:04:19] [File Watcher (node.js)] Request to start watching: /home/rahcusa/.vscode-server/data/User (excludes: <none>, includes: <all>),/home/rahcusa/.vscode-server/data/User/extensions.json (excludes: <none>, includes: <all>)
[2022-12-14 08:04:19.643] [00:04:19] Extension VSIX downloads cache dir does not exist
[2022-12-14 08:04:19.643] [00:04:19] [File Watcher (node.js)] Request to start watching: /home/rahcusa/.vscode-server/extensions (excludes: <none>, includes: <all>)
[2022-12-14 08:04:19.643] [00:04:19] ComputeTargetPlatform: linux-x64
[2022-12-14 08:04:19.643] [00:04:19] Scanned user extensions: 0
[2022-12-14 08:04:19.643] [00:04:19] Started scanning user extensions g {
[2022-12-14 08:04:19.643]   scheme: 'file',
[2022-12-14 08:04:19.643]   authority: '',
[2022-12-14 08:04:19.643]   path: '/home/rahcusa/.vscode-server/extensions',
[2022-12-14 08:04:19.643]   query: '',
[2022-12-14 08:04:19.643]   fragment: '',
[2022-12-14 08:04:19.643]   _formatted: 'file:///home/rahcusa/.vscode-server/extensions',
[2022-12-14 08:04:19.643]   _fsPath: '/home/rahcusa/.vscode-server/extensions'
[2022-12-14 08:04:19.643] }
[2022-12-14 08:04:19.643] [00:04:19] [File Watcher (node.js)] Started watching: '/home/rahcusa/.vscode-server/data/Machine'
[2022-12-14 08:04:19.643] [00:04:19] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat '/home/rahcusa/.vscode-server/data/Machine/settings.json'
[2022-12-14 08:04:19.643] [00:04:19] [File Watcher (node.js)] Started watching: '/home/rahcusa/.vscode-server/data/User'
[2022-12-14 08:04:19.643] [00:04:19] [File Watcher (node.js)] Started watching: '/home/rahcusa/.vscode-server/extensions'
[2022-12-14 08:04:19.643] [00:04:19] [File Watcher (node.js)] Started watching: '/home/rahcusa/.vscode-server/data/User/extensions.json'
[2022-12-14 08:04:19.643] [00:04:19] Scanned user extensions: 0
[2022-12-14 08:04:19.655] + CODE_PROFILE=/home/rahcusa/.vscode-server/server-env-setup
[2022-12-14 08:04:19.655] + printf Setting up server environment: Looking for %s.  /home/rahcusa/.vscode-server/server-env-setup
[2022-12-14 08:04:19.655] + [ -f /home/rahcusa/.vscode-server/server-env-setup ]
[2022-12-14 08:04:19.655] + echo Not found.
[2022-12-14 08:04:19.655] + VSCODE_REMOTE_BIN=/home/rahcusa/.vscode-server/bin
[2022-12-14 08:04:19.655] + uname -r
[2022-12-14 08:04:19.655] + WSL_VERSION=5.10.16.3-microsoft-standard-WSL2
[2022-12-14 08:04:19.655] + echo WSL version: 5.10.16.3-microsoft-standard-WSL2 Ubuntu-20.04
[2022-12-14 08:04:19.655] + dirname /mnt/c/Users/rahcusa/.vscode/extensions/ms-vscode-remote.remote-wsl-0.72.0/scripts/wslServer.sh
[2022-12-14 08:04:19.655] + /mnt/c/Users/rahcusa/.vscode/extensions/ms-vscode-remote.remote-wsl-0.72.0/scripts/wslDownload.sh 5235c6bb189b60b01b1f49062f4ffa42384f8c91 stable /home/rahcusa/.vscode-server/bin
[2022-12-14 08:04:19.655] + [ ! -d /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91 ]
[2022-12-14 08:04:19.655] + RC=0
[2022-12-14 08:04:19.655] + [ 0 -ne 0 ]
[2022-12-14 08:04:19.655] + echo WSL-shell-PID: 14467
[2022-12-14 08:04:19.655] + echo Node executable: /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node
[2022-12-14 08:04:19.655] + echo Starting server: /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/bin/code-server --host=127.0.0.1 --port=0 --connection-token=977702929-996179164-3942340326-4281803931 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --log=trace --telemetry-level=all
[2022-12-14 08:04:19.655] + [ -f /etc/alpine-release ]
[2022-12-14 08:04:19.655] + uname -m
[2022-12-14 08:04:19.655] + [ x86_64 = aarch64 ]
[2022-12-14 08:04:19.655] + /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/bin/code-server --host=127.0.0.1 --port=0 --connection-token=977702929-996179164-3942340326-4281803931 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --log=trace --telemetry-level=all
[2022-12-14 08:04:19.663] Started local proxy server on 57256.
[2022-12-14 08:04:19.663] WSL resolver response: 127.0.0.1:57256
[2022-12-14 08:04:19.663] To debug connection issues, open a local browser on http://127.0.0.1:57256/version
[2022-12-14 08:04:19.663] Using 'wslExeProxy' to connect to the VS Code server as configured by setting 'remote.WSL2.connectionMethod'
[2022-12-14 08:04:19.663] 'wslExeProxy' should fix reconnection issues after sleep and network adapter changes.
[2022-12-14 08:04:19.663] Please report issues related with the new setting to https://github.com/microsoft/vscode-remote-release/issues/5894
[2022-12-14 08:04:19.663] To revert back to the old way of connecting, change setting 'remote.WSL2.connectionMethod' to 'wsl2VMAddress'.
[2022-12-14 08:04:19.663] Extension host environment: {
[2022-12-14 08:04:19.663]   "LESSOPEN": "| /usr/bin/lesspipe %s",
[2022-12-14 08:04:19.663]   "TMUX": "/tmp/tmux-1000/default,530,1",
[2022-12-14 08:04:19.663]   "SHLVL": "2",
[2022-12-14 08:04:19.663]   "HOME": "/home/rahcusa",
[2022-12-14 08:04:19.663]   "CHROMIUM_BIN": "/mnt/c/Users/rahcusa/AppData/Local/Chromium/Application/chrome.exe",
[2022-12-14 08:04:19.663]   "NVM_BIN": "/home/rahcusa/.nvm/versions/node/v16.15.1/bin",
[2022-12-14 08:04:19.663]   "NVM_INC": "/home/rahcusa/.nvm/versions/node/v16.15.1/include/node",
[2022-12-14 08:04:19.663]   "WSL_DISTRO_NAME": "Ubuntu-20.04",
[2022-12-14 08:04:19.663]   "NVM_DIR": "/home/rahcusa/.nvm",
[2022-12-14 08:04:19.663]   "TMPDIR": "c:\\tmp\\karma",
[2022-12-14 08:04:19.663]   "LOGNAME": "rahcusa",
[2022-12-14 08:04:19.663]   "NAME": "Code",
[2022-12-14 08:04:19.663]   "WSL_INTEROP": "/run/WSL/15_interop",
[2022-12-14 08:04:19.663]   "_": "/usr/local/bin/code",
[2022-12-14 08:04:19.663]   "TERM": "screen-256color",
[2022-12-14 08:04:19.663]   "PATH": "/home/rahcusa/.local/bin:/home/rahcusa/bin:/home/rahcusa/.local/bin:/home/rahcusa/bin:/home/rahcusa/bin:/home/rahcusa/.nvm/versions/node/v16.15.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/snap/bin",
[2022-12-14 08:04:19.663]   "LANG": "C.UTF-8",
[2022-12-14 08:04:19.663]   "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:",
[2022-12-14 08:04:19.663]   "LESSCLOSE": "/usr/bin/lesspipe %s %s",
[2022-12-14 08:04:19.663]   "GPG_TTY": "/dev/pts/4",
[2022-12-14 08:04:19.663]   "NVM_CD_FLAGS": "",
[2022-12-14 08:04:19.663]   "XDG_DATA_DIRS": "/usr/local/share:/usr/share:/var/lib/snapd/desktop",
[2022-12-14 08:04:19.663]   "TMUX_PLUGIN_MANAGER_PATH": "/home/rahcusa/.tmux/plugins/",
[2022-12-14 08:04:19.663]   "TMUX_PANE": "%1",
[2022-12-14 08:04:19.663]   "HOSTTYPE": "x86_64",
[2022-12-14 08:04:19.663]   "WSLENV": "ELECTRON_RUN_AS_NODE/w:"
[2022-12-14 08:04:19.663] }
[2022-12-14 08:04:19.674] Using executable (0) to forward requests from local 57256 to remote 35585
[2022-12-14 08:04:19.674] Exec 0: C:\Windows\System32\wsl.exe -d Ubuntu-20.04 -e /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node -e  const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 35585 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2022-12-14 08:04:19.745] Using executable (1) to forward requests from local 57256 to remote 35585
[2022-12-14 08:04:19.745] Exec 1: C:\Windows\System32\wsl.exe -d Ubuntu-20.04 -e /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node -e  const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 35585 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2022-12-14 08:04:20.603] Using executable (2) to forward requests from local 57256 to remote 35585
[2022-12-14 08:04:20.603] Exec 2: C:\Windows\System32\wsl.exe -d Ubuntu-20.04 -e /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node -e  const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 35585 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2022-12-14 08:04:20.606] Using executable (3) to forward requests from local 57256 to remote 35585
[2022-12-14 08:04:20.606] Exec 3: C:\Windows\System32\wsl.exe -d Ubuntu-20.04 -e /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node -e  const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 35585 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2022-12-14 08:04:20.609] Using executable (4) to forward requests from local 57256 to remote 35585
[2022-12-14 08:04:20.609] Exec 4: C:\Windows\System32\wsl.exe -d Ubuntu-20.04 -e /home/rahcusa/.vscode-server/bin/5235c6bb189b60b01b1f49062f4ffa42384f8c91/node -e  const net = require('net'); process.stdin.pause(); const client = net.createConnection({ host: '127.0.0.1', port: 35585 }, () => { client.pipe(process.stdout); process.stdin.pipe(client); }); client.on('close', function (hadError) { console.error(hadError ? 'Remote close with error' : 'Remote close'); process.exit(hadError ? 1 : 0); }); client.on('error', function (err) { process.stderr.write(err && (err.stack || err.message) || String(err)); });
[2022-12-14 08:04:25.882] Exec (2) stderr: Remote close
[2022-12-14 08:04:25.882] Exec (3) stderr: Remote close
[2022-12-14 08:04:25.882] Exec (4) stderr: Remote close
[2022-12-14 08:04:25.888] Exec (3) has terminated  with code 0 and signal null.
[2022-12-14 08:04:25.888] Exec (4) has terminated  with code 0 and signal null.
[2022-12-14 08:04:25.889] Exec (2) has terminated  with code 0 and signal null.
[2022-12-14 08:04:48.134] Exec (4): Local close
[2022-12-14 08:04:48.134] Terminating exec 4
[2022-12-14 08:04:48.135] Exec (2): Local close
[2022-12-14 08:04:48.135] Terminating exec 2
[2022-12-14 08:04:48.135] Exec (3): Local close
[2022-12-14 08:04:48.135] Terminating exec 3

// Under Extensions > @builtin > TypeScript and JavaScript Language Features
The Runtime Status remains 'Not Activated'```
rahcusa commented 1 year ago

It seems like the issue depends on where vscode is launched from If I start vscode from host OS (Windows) and open a folder inside WSL, the intellisense works somewhat (it seems to be very limited, e.g. it cant make suggestions from functions/imports etc. that are inside node_modules, editor does not fade out unused variables ) and if I launch vscode from WSL command-line code <path/to/my/project>, intellisense does not work at all