@@ -11,9 +11,6 @@ import { CodeAction, ConnectionType } from "../../constants";
1111import { localize } from "../../localize" ;
1212import { requestUtils } from "../../utils/requestUtils" ;
1313
14- // If the user previously chose to debug using the emulator, leverage that preference for the remaining VS Code session
15- let useDTSEmulator : boolean ;
16-
1714export async function validateDTSConnectionPreDebug ( context : IActionContext , projectPath : string ) : Promise < void > {
1815 const projectPathContext = Object . assign ( context , { projectPath } ) ;
1916 const { dtsConnectionKey, dtsHubConnectionKey } = await getDTSSettingsKeys ( projectPathContext ) ?? { } ;
@@ -32,7 +29,6 @@ export async function validateDTSConnectionPreDebug(context: IActionContext, pro
3229 const wizardContext : IDTSConnectionWizardContext = Object . assign ( context , {
3330 projectPath,
3431 action : CodeAction . Debug ,
35- dtsConnectionType : useDTSEmulator ? ConnectionType . Emulator : undefined ,
3632 newDTSConnectionSettingKey : dtsConnectionKey ,
3733 newDTSHubConnectionSettingKey : dtsHubConnectionKey ,
3834 newDTSConnectionSettingValue : isAliveDTSConnection ? dtsConnection : undefined ,
@@ -49,8 +45,6 @@ export async function validateDTSConnectionPreDebug(context: IActionContext, pro
4945 if ( wizardContext . dtsConnectionType ) {
5046 await wizard . execute ( ) ;
5147 }
52-
53- useDTSEmulator = wizardContext . dtsConnectionType === ConnectionType . Emulator ;
5448}
5549
5650/**
0 commit comments