Repository navigation
Intellisense keeps crashing #63151
Description
Activity
vs-code-engineering commented
on Feb 17, 2026 More actionsThanks 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!
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.
Please try collecting the TS Server log from the crashed instance:
-
Set
"typescript.tsserver.log": "verbose" -
Restart VS Code and reproduce the problem
-
Open the
TypeScriptsection of the output panel -
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.logThat 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-
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 resolutionHere 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]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.
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.
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.
Closing all files and opening one again cleared it this time. Immediately.
It seems to occur whenever any non-project files are open.
Reloading the window after closing all offending files seems to be fairly consistent.
Adding the offending file (
prisma.config.ts) to my project tsconfg.json file also seems to be fixing it.5 remaining items
- addedDomain: LS: TSServerIssues related to the TSServerIssues related to the TSServer
on Feb 25, 2026 Ok, this doesn't happen in every project, so it might be more on the typescript side of things.
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.
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.
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.
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
{} asstill required me to reload window.import {} as "es-arraybuffer-base64/Uint8Array.prototype.toBase64"; import {} as "es-arraybuffer-base64/Uint8Array.fromBase64";
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:
- Reproduce this locally by creating a project with a large node_modules and opening a file excluded from tsconfig.
- 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?
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.The experimental tsgo vscode plugin does not have any of these problems.
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 --shutdownis a hard reset — it kills all WSL2 processes immediately. The/etc/sysctl.confchange 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
ECONNRESETorEHOSTUNREACH→ 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 toSIGTERM. 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-extensionson remote — it doesn't work as intended. Instead:- Open the Remote Explorer in VS Code
- Disconnect from
trifecta - Reconnect and when prompted, select "Reopen without Extensions"
- Test if IntelliSense works. If yes, re-enable extensions one at a time.
lsp-mcp-bridgeandvsliveshareare the highest-risk extensions in the user's list.
Resolution Summary by Log Pattern
Log Ending Root Cause Fix onWatcherFailinotify exhaustion Step 4a ECONNRESETSSH tunnel drop wsl --shutdownfrom WindowsMid-request silence Zombie process Step 4b Empty/missing log Server startup failure Check remoteagent.log- Log ends with
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.
RyanCavanaugh commented
on Sep 19, 2026 MemberMore actionsThe 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
updateOpenrequest that opens the file outsidetsconfig.jsonand all output through the server restart. Please also include the TypeScript version selected by VS Code and the relevanttsconfig.jsonand workspace settings. Remove workspace paths and source text if needed.- addedNeeds Human ReviewThis issue has a backlog check awaiting maintainer review.This issue has a backlog check awaiting maintainer review.Needs More InfoThe issue still hasn't been fully clarifiedThe issue still hasn't been fully clarifiedand removedNeeds Human ReviewThis issue has a backlog check awaiting maintainer review.This issue has a backlog check awaiting maintainer review.
on Sep 19, 2026
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
tscworks 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
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
Extensions (32)
(3 theme extensions excluded)
A/B Experiments