File tree
Expand file treeCollapse file tree1 file changed
+4
-2
lines changed Expand file treeCollapse file tree1 file changed
+4
-2
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -331,7 +331,7 @@ export class SessionManager implements Middleware {
|
331 | 331 | // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
332 | 332 | if ((resolvedCodeLens as Thenable<vscode.CodeLens>).then) {
|
333 | 333 | return (resolvedCodeLens as Thenable<vscode.CodeLens>).then(resolveFunc);
|
334 |
| -// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition |
| 334 | +// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition |
335 | 335 | } else if (resolvedCodeLens as vscode.CodeLens) {
|
336 | 336 | return resolveFunc(resolvedCodeLens as vscode.CodeLens);
|
337 | 337 | }
|
@@ -571,7 +571,9 @@ Type 'help' to get help.
|
571 | 571 | editorServicesArgs += `-StartupBanner "${startupBanner}" `;
|
572 | 572 | }
|
573 | 573 |
|
574 |
| -if (this.sessionSettings.developer.editorServicesWaitForDebugger) { |
| 574 | +// We guard this here too out of an abundance of precaution. |
| 575 | +if (this.sessionSettings.developer.editorServicesWaitForDebugger |
| 576 | +&& this.extensionContext.extensionMode === vscode.ExtensionMode.Development) { |
575 | 577 | editorServicesArgs += "-WaitForDebugger ";
|
576 | 578 | }
|
577 | 579 |
|
|
You can’t perform that action at this time.
0 commit comments