@@ -2,7 +2,7 @@ import { DebugSession } from 'vscode-debugadapter';
2
2
import { AttachRequestArguments , LaunchRequestArguments } from '../Common/Contracts' ;
3
3
import { IDebugLauncherScriptProvider } from '../types' ;
4
4
import { DebugClient } from './DebugClient' ;
5
- import { DebuggerLauncherScriptProvider , DebuggerV2LauncherScriptProvider , NoDebugLauncherScriptProvider , NoDebugLauncherScriptProviderV2 } from './launcherProvider' ;
5
+ import { DebuggerLauncherScriptProvider , NoDebugLauncherScriptProvider } from './launcherProvider' ;
6
6
import { LocalDebugClient } from './LocalDebugClient' ;
7
7
import { LocalDebugClientV2 } from './localDebugClientV2' ;
8
8
import { NonDebugClient } from './NonDebugClient' ;
@@ -13,10 +13,10 @@ export function CreateLaunchDebugClient(launchRequestOptions: LaunchRequestArgum
13
13
let launchScriptProvider : IDebugLauncherScriptProvider ;
14
14
let debugClientClass : typeof LocalDebugClient ;
15
15
if ( launchRequestOptions . noDebug === true ) {
16
- launchScriptProvider = launchRequestOptions . type === 'pythonExperimental' ? new NoDebugLauncherScriptProviderV2 ( ) : new NoDebugLauncherScriptProvider ( ) ;
16
+ launchScriptProvider = new NoDebugLauncherScriptProvider ( ) ;
17
17
debugClientClass = launchRequestOptions . type === 'pythonExperimental' ? NonDebugClientV2 : NonDebugClient ;
18
18
} else {
19
- launchScriptProvider = launchRequestOptions . type === 'pythonExperimental' ? new DebuggerV2LauncherScriptProvider ( ) : new DebuggerLauncherScriptProvider ( ) ;
19
+ launchScriptProvider = new DebuggerLauncherScriptProvider ( ) ;
20
20
debugClientClass = launchRequestOptions . type === 'pythonExperimental' ? LocalDebugClientV2 : LocalDebugClient ;
21
21
}
22
22
return new debugClientClass ( launchRequestOptions , debugSession , canLaunchTerminal , launchScriptProvider ) ;
0 commit comments