Skip to content

Commit

Permalink
Prompt users to test with extensions disabled (#165203)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz authored Nov 1, 2022
1 parent a9bf311 commit 8ad4366
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8ad4366

Please sign in to comment.