Skip to content

Intellisense keeps crashing #63151

Description

@Arlen22

Type: Bug

Basically what happens is that the "Loading intellisense status" spinner spins forever, no matter what I try restarting, including killing the entire remote server, restarting the extension host, reloading the window, restarting TS server. It just stays spinning. While this is happening, the normal navigation that I require for my projects is simply offline. No suggested properties, no navigate to definition, no find all references. I just get that infinite loading bar that scrolls across the top of the window. Running tsc works perfectly fine and gives me all my expected errors. There are no obvious reasons why this is happening. It doesn't appear to be directly related to typescript.

No idea what's causing it, but often have to reload the window to get it working again, which seems unusually disruptive to normal development. This is a typescript project but I've been using the same version of Typescript with no issues. Not exactly sure how to downgrade either.

Correction: I have to kill the remote server and reload the window.

Correction: That did not fix it. Workaround unknown.

This is on a remote SSH workspace.

VS Code version: Code 1.109.3 (b6a47e94e326b5c209d118cf0f994d6065585705, 2026-02-12T17:54:48.470Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) 5 120U (12 x 2496)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0xa7ac [Intel(R) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.7076 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.7309
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.70GB (2.95GB free)
Process Argv --folder-uri vscode-remote://ssh-remote%2Btrifecta/home/arwc/GitHub/arwc-server --crash-reporter-id 7cfeba12-46a1-410b-b063-d1177ca5d898
Screen Reader no
VM 0%
Item Value
Remote SSH: trifecta
OS Linux x64 6.6.87.2-microsoft-standard-WSL2
CPUs AMD Ryzen 7 5800X 8-Core Processor (16 x 0)
Memory (System) 31.34GB (27.49GB free)
VM 0%
Extensions (32)
Extension Author (truncated) Version
Bookmarks ale 14.0.0
vscode-tsv cte 0.2.2
font-switcher eva 4.1.1
auto-rename-tag for 0.1.10
codespaces Git 1.18.5
remotehub Git 0.64.0
gitpod-desktop git 0.0.184
vscode-graphql-syntax Gra 1.3.8
l13-diff L13 1.3.11
remote-containers ms- 0.442.0
remote-ssh ms- 0.122.0
remote-ssh-edit ms- 0.87.0
remote-wsl ms- 0.104.3
azure-repos ms- 0.40.0
remote-explorer ms- 0.5.0
remote-repositories ms- 0.42.0
remote-server ms- 1.5.3
mq4 ner 1.0.4
default-keys-windows smc 1.0.0
pdf tom 1.2.2
errorlens use 3.28.0
vscode-icons vsc 12.17.0
gistfs vsl 0.9.6
pm2-explorer ale 0.0.7
prettier-vscode esb 12.3.0
gitpod-remote-ssh git 0.0.59
vsliveshare ms- 1.0.5959
prisma Pri 31.3.4
vscode-xml red 0.29.0
lsp-mcp-bridge seh 1.0.1
theme-check-vscode Sho 3.10.0
gpg-indicator wdh 0.7.5

(3 theme extensions excluded)

A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
9hi5e907:31436603
aj953862:31281341
6abeh943:31336334
envsdeactivate2:31353495
cloudbuttont:31379625
3efgi100_wstrepl:31403338
use-responses-api:31390855
defaultusage:31403421
je187915:31401257
ec5jj548:31422691
cp_cls_c_966_ss:31454199
c0683394:31458171
ge8j1254_inline_auto_hint_haiku:31431912
a5gib710:31434435
38bie571_auto:31461585
7a04d226_do_not_restore_last_panel_session:31438103
722j7530_gpt_5_2_codex:31458091
h0hdh950:31428394
preserve_tokens:31444547
cp_cls_c_1081:31454833
a43f0575b:31442825
e9c30283:31461165
edit_mode_hidden:31461530
864ei723_large_tool_results_to_disk:31460878
showingstats:31457202
pp-44cc9697:31455969
55364912:31458074
chat:31457767
ah:31460422

Activity

  1. vs-code-engineering commented on Feb 17, 2026

    @vs-code-engineering

    Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.109.4. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

  2. Arlen22 commented on Feb 17, 2026

    @Arlen22
    Author

    Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.109.4. Please try upgrading to the latest version and checking whether this issue remains.

    Just did. Issue is not fixed.

  3. mjbvz commented on Feb 17, 2026

    @mjbvz

    Please try collecting the TS Server log from the crashed instance:

    1. Set "typescript.tsserver.log": "verbose"

    2. Restart VS Code and reproduce the problem

    3. Open the TypeScript section of the output panel

    4. At the very top, find the first line that prints to path to the semantic error log file. It should look something like:

      [Info  - 19:54:59.247] <semantic> Log file: /Users/matb/Library/Application Support/Code - Insiders/logs/20200213T104930/exthost55/vscode.typescript-language-features/tsserver-log-ZT2zau/tsserver.log
      

      That file contains the typescript logs.

    Look through that log file for the first error or stack trace you see. If you can share the log, I can also take a look to see if anything stands out

    ⚠️Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

  4. Arlen22 commented on Feb 17, 2026

    @Arlen22
    Author

    No errors, but it always ends with this. I've restarted TS server, killed and reloaded the remote vscode server, and just now restarted the server (in case I was running into some kind of resource leak). The log always ends with the following lines, followed shortly after by the TS server being killed and restarted. I've tested this on 5.8.3 and 5.9.2 and 5.9.3 and all have show the same behavior, which only started for me a few days ago.

    Info 2004 [13:42:24.048] -----------------------------------------------
    Info 2005 [13:42:24.054] AutoImportProviderProject: found 91 root files in 6 dependencies 0 referenced projects in 4.7102370000066 ms
    Info 2006 [13:42:24.054] Creating AutoImportProviderProject: /dev/null/autoImportProviderProject2*, currentDirectory: /home/app/GitHub/app-server
    Info 2007 [13:42:24.054] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2*
    Info 2008 [13:42:24.055] DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules 1 undefined Project: /dev/null/autoImportProviderProject2* WatchType: Failed Lookup Locations
    Info 2009 [13:42:24.055] Elapsed:: 0.006993999995756894ms DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules 1 undefined Project: /dev/null/autoImportProviderProject2* WatchType: Failed Lookup Locations
    Info 2010 [13:42:24.055] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@aws-sdk/rds-signer/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2011 [13:42:24.055] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@smithy/types/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2012 [13:42:24.081] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@electric-sql/pglite/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2013 [13:42:24.097] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/pg/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2014 [13:42:24.097] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2015 [13:42:24.098] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/undici-types/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2016 [13:42:24.119] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/pg-protocol/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2017 [13:42:24.120] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/google-auth-library/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2018 [13:42:24.123] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/gaxios/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2019 [13:42:24.129] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/google-logging-utils/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2020 [13:42:24.135] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/gcp-metadata/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2021 [13:42:24.146] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/googleapis/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    Info 2022 [13:42:24.198] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/googleapis-common/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution
    
  5. Arlen22 commented on Feb 17, 2026

    @Arlen22
    Author

    Here are the immediately preceeding lines, but I'm not sure they're the same every time.

    expand
    Info 1924 [13:42:23.256] request:
        {
          "seq": 46,
          "type": "request",
          "command": "updateOpen",
          "arguments": {
            "changedFiles": [],
            "closedFiles": [],
            "openFiles": [
              {
                "file": "/home/app/GitHub/app-server/prisma.config.ts",
                "fileContent": "import { defineConfig, env } from 'prisma/config'\n\nexport default defineConfig({\n  schema: 'prisma',\n  migrations: {\n    path: 'prisma/migrations',\n  },\n  datasource: {\n    url: env('DATABASE_URL')\n  },\n})",
                "projectRootPath": "/home/app/GitHub/app-server",
                "scriptKindName": "TS"
              }
            ]
          }
        }
    Info 1925 [13:42:23.256] getConfigFileNameForFile:: File: /home/app/GitHub/app-server/prisma.config.ts ProjectRootPath: /home/app/GitHub/app-server:: Result: /home/app/GitHub/app-server/tsconfig.json
    Info 1926 [13:42:23.256] getConfigFileNameForFile:: File: /home/app/GitHub/app-server/tsconfig.json ProjectRootPath: /home/app/GitHub/app-server:: Result: undefined
    Info 1927 [13:42:23.257] event:
        {"seq":0,"type":"event","event":"configFileDiag","body":{"triggerFile":"/home/app/GitHub/app-server/prisma.config.ts","configFile":"/home/app/GitHub/app-server/tsconfig.json","diagnostics":[]}}
    Info 1928 [13:42:23.257] Creating InferredProject: /dev/null/inferredProject1*, currentDirectory: /home/app/GitHub/app-server
    Info 1929 [13:42:23.257] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root
    Info 1930 [13:42:23.257] event:
        {"seq":0,"type":"event","event":"createFileWatcher","body":{"id":878,"path":"/home/app/GitHub/app-server/jsconfig.json"}}
    Info 1931 [13:42:23.258] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
    Info 1932 [13:42:23.262] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1933 [13:42:23.415] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/body-parser/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1934 [13:42:23.415] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/bytes/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1935 [13:42:23.415] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/compression/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1936 [13:42:23.415] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/connect/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1937 [13:42:23.415] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/cors/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1938 [13:42:23.415] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/debug/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1939 [13:42:23.415] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/estree/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1940 [13:42:23.416] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/express/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1941 [13:42:23.416] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/express-serve-static-core/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1942 [13:42:23.416] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/gapi/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1943 [13:42:23.416] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/google.accounts/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1944 [13:42:23.416] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/http-errors/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1945 [13:42:23.416] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/luxon/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1946 [13:42:23.417] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/mime/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1947 [13:42:23.417] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/mime-types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1948 [13:42:23.417] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/ms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1949 [13:42:23.417] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/mysql/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1950 [13:42:23.417] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/negotiator/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1951 [13:42:23.417] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1952 [13:42:23.418] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/pg/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1953 [13:42:23.418] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/qs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1954 [13:42:23.418] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/range-parser/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1955 [13:42:23.418] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/send/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1956 [13:42:23.418] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/serve-static/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1957 [13:42:23.418] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/trusted-types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1958 [13:42:23.419] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/wtfnode/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1959 [13:42:23.431] DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations
    Info 1960 [13:42:23.431] Elapsed:: 0.008205999998608604ms DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations
    Info 1961 [13:42:23.431] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/undici-types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1962 [13:42:23.656] DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations
    Info 1963 [13:42:23.656] Elapsed:: 0.008715999996638857ms DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations
    Info 1964 [13:42:23.725] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/pg-protocol/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1965 [13:42:24.011] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1966 [13:42:24.011] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1967 [13:42:24.012] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/prisma/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1968 [13:42:24.012] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/typescript/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1969 [13:42:24.012] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/csstype/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1970 [13:42:24.012] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@prisma/config/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1971 [13:42:24.012] event:
        {"seq":0,"type":"event","event":"createFileWatcher","body":{"id":879,"path":"/home/app/GitHub/app-server/node_modules/@prisma/config/package.json"}}
    Info 1972 [13:42:24.014] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/events/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1973 [13:42:24.029] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/string_decoder/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1974 [13:42:24.040] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/send/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1975 [13:42:24.040] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/qs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1976 [13:42:24.040] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/range-parser/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1977 [13:42:24.041] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/http-errors/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1978 [13:42:24.041] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/serve-static/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1979 [13:42:24.042] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/ms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1980 [13:42:24.043] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/pg-types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1981 [13:42:24.043] FileWatcher:: Added:: WatchInfo: /home/arlen/.vscode-server/cli/servers/Stable-c3a26841a84f20dfe0850d0a5a9bd01da4f003ea/server/extensions/node_modules/typescript/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1982 [13:42:24.043] FileWatcher:: Added:: WatchInfo: /home/arlen/.vscode-server/cli/servers/Stable-c3a26841a84f20dfe0850d0a5a9bd01da4f003ea/server/extensions/node_modules/typescript/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1983 [13:42:24.043] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@prisma/config/dist/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1984 [13:42:24.043] event:
        {"seq":0,"type":"event","event":"createFileWatcher","body":{"id":880,"path":"/home/app/GitHub/app-server/node_modules/@prisma/config/dist/package.json"}}
    Info 1985 [13:42:24.043] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/compatibility/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1986 [13:42:24.043] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/web-globals/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1987 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/assert/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1988 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/dns/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1989 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/fs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1990 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/readline/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1991 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/stream/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1992 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/node/timers/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1993 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/luxon/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1994 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/pg-protocol/dist/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1995 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/pg/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1996 [13:42:24.044] FileWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types/trusted-types/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution
    Info 1997 [13:42:24.044] DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
    Info 1998 [13:42:24.044] Elapsed:: 0.004698000004282221ms DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/app-server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
    Info 1999 [13:42:24.044] DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
    Info 2000 [13:42:24.044] Elapsed:: 0.0016630000027362257ms DirectoryWatcher:: Added:: WatchInfo: /home/app/GitHub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
    Info 2001 [13:42:24.044] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed: 786.5746420000069ms
    Info 2002 [13:42:24.044] Project '/dev/null/inferredProject1*' (Inferred)
    Info 2003 [13:42:24.047] 	Files (232)
    [files redacted for brevity]
    
  6. Arlen22 commented on Feb 17, 2026

    @Arlen22
    Author

    Keeping prisma.config.ts (and other files not part of the tsconfig.json) closed seems to prevent this from happening. My regular project in the same folder is still working properly. Obviously I'd call it a workaround, not a solution.

  7. removed their assignment
    on Feb 17, 2026
  8. Arlen22 commented on Feb 18, 2026

    @Arlen22
    Author

    Keeping those files closed does not reliably prevent it from happening, and restarting TS server after closing all other files does not reliably get back to a working state.

  9. Arlen22 commented on Feb 18, 2026

    @Arlen22
    Author

    Matt Bierner (@mjbvz) I'm suspicious that this isn't TypeScript related, since the problem just started happening out of nowhere and also occurs with previous versions that have been around for a while, and seems more likely related to something in VS Code's language server implementation, but I don't know how to debug that.

  10. Arlen22 commented on Feb 18, 2026

    @Arlen22
    Author

    Closing all files and opening one again cleared it this time. Immediately.

  11. Arlen22 commented on Feb 18, 2026

    @Arlen22
    Author

    It seems to occur whenever any non-project files are open.

  12. Arlen22 commented on Feb 18, 2026

    @Arlen22
    Author

    Reloading the window after closing all offending files seems to be fairly consistent.

  13. Arlen22 commented on Feb 18, 2026

    @Arlen22
    Author

    Adding the offending file (prisma.config.ts) to my project tsconfg.json file also seems to be fixing it.

  14. 5 remaining items

  15. Arlen22 commented on Feb 25, 2026

    @Arlen22
    Author

    Ok, this doesn't happen in every project, so it might be more on the typescript side of things.

  16. Arlen22 commented on Mar 2, 2026

    @Arlen22
    Author

    And now I'm unable to rename generic type parameters for some reason in one case in the same project. VS code just gives the status notification "No result.". I feel like there's a dependency or type problem in this particular project that's causing everything to break and I have no idea what it is and don't know how to debug it myself. I can't share the whole project either.

  17. Arlen22 commented on Apr 4, 2026

    @Arlen22
    Author

    This is still happening without fail every time I open a Javascript or Typescript file that isn't in the project. All my intellisense in every file completely breaks immediately, returning vscode to a dumb text editor. Fortunately I can open the same folder in a separate workspace if I want to refer to Javascript files without breaking my main workflow.

  18. Arlen22 commented on Apr 4, 2026

    @Arlen22
    Author

    The quickest way to fix the problem after I close the offending tabs is usually just to reload the window. TS server seems to take longer to recognize that the files are no longer there, indicating there is still some VS Code crossover I believe.

  19. Arlen22 commented on Apr 4, 2026

    @Arlen22
    Author

    I just had it happen again when I inserted the following code and it said it couldn't find declaration files. Changing it to straight import without the {} as still required me to reload window.

    import {} as "es-arraybuffer-base64/Uint8Array.prototype.toBase64";
    import {} as "es-arraybuffer-base64/Uint8Array.fromBase64";
  20. AbhinavJD7 commented on Apr 5, 2026

    @AbhinavJD7

    Hi Ryan Cavanaugh (@RyanCavanaugh), I'd like to investigate this issue.

    From the logs provided by Arlen Beiler (@Arlen22), it seems the InferredProject created for non-project files (like prisma.config.ts) is triggering an expensive updateGraphWorker and recursively watching node_modules, which leads to the Intellisense hang.

    I'm planning to:

    1. Reproduce this locally by creating a project with a large node_modules and opening a file excluded from tsconfig.
    2. Trace why the InferredProject is not respecting standard exclusion boundaries or why it's hanging during the graph update.

    May I be assigned to this?

  21. Arlen22 commented on Apr 11, 2026

    @Arlen22
    Author

    Adding these options to the tsconfig.json doesn't fix it.

      "watchOptions": {
        "watchFile": "priorityPollingInterval",
        "watchDirectory": "dynamicprioritypolling",
        "fallbackPolling": "dynamicpriority",
      }

    Setting "js/ts.tsserver.watchOptions": "vscode" doesn't fix it.

    "js/ts.tsserver.experimental.enableProjectDiagnostics": true, gives me a list of errors, but all intellisense breaks immediately since project diagnostics seem to include other files.

  22. Arlen22 commented on Apr 11, 2026

    @Arlen22
    Author

    The experimental tsgo vscode plugin does not have any of these problems.

  23. eeysudo commented on Jul 29, 2026

    @eeysudo

    Final Revised Contribution: Terminal-Only TSServer Hang Fix for Remote SSH/WSL2

    Critical Principle

    The VS Code UI may be frozen. All steps run from an external terminal via SSH from Windows — never from inside the broken VS Code instance.


    Step 0: WSL2 Daemon Health (If SSH Fails)

    If SSH hangs immediately, the WSL2 daemon itself is dead:

    # From a Windows PowerShell prompt (NOT inside WSL2):
    wsl --shutdown
    # Wait 5 seconds, then reconnect

    Why both this and the sysctl fix? wsl --shutdown is a hard reset — it kills all WSL2 processes immediately. The /etc/sysctl.conf change persists across restarts and reloads automatically when WSL2 restarts. They work together: the shutdown recovers the current session, and the sysctl config prevents the problem from recurring.


    Step 1: Verify SSH Is Alive

    ssh -o ConnectTimeout=10 trifecta 'echo "SSH OK" && uptime'

    If this fails, return to Step 0. Do not proceed until SSH responds.


    Step 2: Capture Logs BEFORE Any Fixes

    ssh trifecta 'find ~/.vscode-server/data/logs -name "tsserver.log" -exec tail -200 {} \; > ~/tsserver_hang.log 2>&1; echo "Exit code: $?"'

    If the file is empty or missing, check the server startup log instead:

    ssh trifecta 'find ~/.vscode-server/data/logs -name "remoteagent.log" -exec tail -100 {} \;'

    This reveals whether TSServer ever started successfully.


    Step 3: Identify the Hang Pattern

    Inspect ~/tsserver_hang.log:

    • Log ends with onWatcherFail → Watcher exhaustion; apply Step 4a
    • Log ends with ECONNRESET or EHOSTUNREACH → SSH tunnel dropping; WSL2 daemon issue
    • Log ends mid-request with no error → Orphaned process; apply Step 4b
    • Log is empty/missing → TSServer never started; check remoteagent.log

    Step 4a: WSL2 inotify Kernel Fix

    # Apply immediately:
    ssh trifecta 'echo 524288 | sudo tee /proc/sys/fs/inotify/max_user_watches'
    
    # Make permanent (survives wsl --shutdown):
    ssh trifecta 'echo "fs.inotify.max_user_watches=524288" | sudo tee -a /etc/sysctl.conf'

    Then reduce watcher load via files.watcherExclude (apply via terminal after recovery):

    ssh trifecta 'cat >> ~/.vscode-server/data/Machine/settings.json << EOF
    {
      "typescript.tsserver.log": "verbose",
      "files.watcherExclude": {
        "**/.git/objects/**": true,
        "**/node_modules/**": true,
        "**/tmp/**": true
      }
    }
    EOF'

    Step 4b: Kill Orphaned TSServer Processes

    ssh trifecta 'pkill -9 -f tsserver; pkill -9 -f "node.*typescript"; sleep 2; ps aux | grep -E "tsserver|typescript" | grep -v grep || echo "Clean"'

    SIGKILL (-9) is required here because a hung TSServer is typically deadlocked on an unresolved promise — it won't respond to SIGTERM. The verification step confirms no zombie processes remain.


    Step 4c: Nuclear Workspace State Wipe (Only After Log Capture)

    ssh trifecta 'rm -rf ~/.vscode-server/data/User/workspaceStorage/*'

    Clears per-workspace TSServer state. Restart VS Code after.


    Step 5: Isolate Extension Interference (After Recovery)

    Do not use code --disable-extensions on remote — it doesn't work as intended. Instead:

    1. Open the Remote Explorer in VS Code
    2. Disconnect from trifecta
    3. Reconnect and when prompted, select "Reopen without Extensions"
    4. Test if IntelliSense works. If yes, re-enable extensions one at a time.

    lsp-mcp-bridge and vsliveshare are the highest-risk extensions in the user's list.


    Resolution Summary by Log Pattern

    Log Ending Root Cause Fix
    onWatcherFail inotify exhaustion Step 4a
    ECONNRESET SSH tunnel drop wsl --shutdown from Windows
    Mid-request silence Zombie process Step 4b
    Empty/missing log Server startup failure Check remoteagent.log
  24. Arlen22 commented on Jul 31, 2026

    @Arlen22
    Author

    Critical Principle

    The VS Code UI may be frozen. All steps run from an external terminal via SSH from Windows — never from inside the broken VS Code instance.

    Critical Deviation

    VS Code is not frozen, so literally none of this applies, except the inotify step, but that's already set to max, I believe, so it's not the problem.

    The answer should be hidden as outdated, off-topic, or low-quality to prevent taking up page space. The inotify was a good call though and I should have posted what mine was set to but I had already checked it and I believe it was maxed out. The log simply ends with a watcher line and that's it.

    I believe a workaround I did end up finding was removing the google apis from the types I was using. There might be something there to investigate but it's possible the entire graph is so big it simply crashes. It's also possible that ts-go won't have this bug.

  25. RyanCavanaugh commented on Sep 19, 2026

    @RyanCavanaugh
    Member

    The log shows TS Server creating an inferred project and registering watchers, but it does not include an error, stack trace, or the request that stops completing. Please provide either a small project that reproduces the hang or the complete verbose TS Server log from one failing session, including the updateOpen request that opens the file outside tsconfig.json and all output through the server restart. Please also include the TypeScript version selected by VS Code and the relevant tsconfig.json and workspace settings. Remove workspace paths and source text if needed.

  26. added
    Needs Human ReviewThis issue has a backlog check awaiting maintainer review.
    Needs More InfoThe issue still hasn't been fully clarified
    and removed
    Needs Human ReviewThis issue has a backlog check awaiting maintainer review.
    on Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: LS: TSServerIssues related to the TSServerHelp WantedYou can do thisNeeds More InfoThe issue still hasn't been fully clarified

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions