@@ -11,9 +11,6 @@ import { CodeAction, ConnectionType } from "../../constants";
11
11
import { localize } from "../../localize" ;
12
12
import { requestUtils } from "../../utils/requestUtils" ;
13
13
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
-
17
14
export async function validateDTSConnectionPreDebug ( context : IActionContext , projectPath : string ) : Promise < void > {
18
15
const projectPathContext = Object . assign ( context , { projectPath } ) ;
19
16
const { dtsConnectionKey, dtsHubConnectionKey } = await getDTSSettingsKeys ( projectPathContext ) ?? { } ;
@@ -32,7 +29,6 @@ export async function validateDTSConnectionPreDebug(context: IActionContext, pro
32
29
const wizardContext : IDTSConnectionWizardContext = Object . assign ( context , {
33
30
projectPath,
34
31
action : CodeAction . Debug ,
35
- dtsConnectionType : useDTSEmulator ? ConnectionType . Emulator : undefined ,
36
32
newDTSConnectionSettingKey : dtsConnectionKey ,
37
33
newDTSHubConnectionSettingKey : dtsHubConnectionKey ,
38
34
newDTSConnectionSettingValue : isAliveDTSConnection ? dtsConnection : undefined ,
@@ -49,8 +45,6 @@ export async function validateDTSConnectionPreDebug(context: IActionContext, pro
49
45
if ( wizardContext . dtsConnectionType ) {
50
46
await wizard . execute ( ) ;
51
47
}
52
-
53
- useDTSEmulator = wizardContext . dtsConnectionType === ConnectionType . Emulator ;
54
48
}
55
49
56
50
/**
0 commit comments