Prompt users to test with extensions disabled (#165203)

This commit is contained in:
Matt Bierner
2022-11-01 16:38:45 -07:00
committed by GitHub
parent a9bf3117d8
commit 8ad43669a9

View File

@@ -1036,7 +1036,13 @@ function getReportIssueArgsForError(
];
if (globalPlugins.length) {
sections.push(`**Global TS Server Plugins**\n\n` + globalPlugins.map(plugin => `- \`${plugin.name}\``).join('\n'));
sections.push(
[
`**Global TypeScript Server Plugins**`,
`❗️ Please test with extensions disabled. Extensions are the root cause of most TypeScript server crashes`,
globalPlugins.map(plugin => `- \`${plugin.name}\``).join('\n')
].join('\n\n')
);
}
if (logPath) {