@@ -59,14 +59,14 @@ suite('Extension API Debugger', () => {
5959
6060 test ( 'Test debug launcher args (no-wait and in experiment)' , async ( ) => {
6161 mockInExperiment ( ) ;
62- when ( debugAdapterFactory . getRemotePtvsdArgs ( anything ( ) ) ) . thenReturn ( [ '--default' , '-- host', 'something' , '--port' , '1234' ] ) ;
62+ when ( debugAdapterFactory . getRemotePtvsdArgs ( anything ( ) ) ) . thenReturn ( [ '--host' , 'something' , '--port' , '1234' ] ) ;
6363
6464 const args = await buildApi ( Promise . resolve ( ) , instance ( experimentsManager ) , instance ( debugAdapterFactory ) , instance ( configurationService ) ) . debug . getRemoteLauncherCommand (
6565 'something' ,
6666 1234 ,
6767 false
6868 ) ;
69- const expectedArgs = [ ptvsdPath , '--default' , '-- host', 'something' , '--port' , '1234' ] ;
69+ const expectedArgs = [ ptvsdPath , '--host' , 'something' , '--port' , '1234' ] ;
7070
7171 expect ( args ) . to . be . deep . equal ( expectedArgs ) ;
7272 } ) ;
@@ -86,14 +86,14 @@ suite('Extension API Debugger', () => {
8686
8787 test ( 'Test debug launcher args (wait and in experiment)' , async ( ) => {
8888 mockInExperiment ( ) ;
89- when ( debugAdapterFactory . getRemotePtvsdArgs ( anything ( ) ) ) . thenReturn ( [ '--default' , '-- host', 'something' , '--port' , '1234' , '--wait' ] ) ;
89+ when ( debugAdapterFactory . getRemotePtvsdArgs ( anything ( ) ) ) . thenReturn ( [ '--host' , 'something' , '--port' , '1234' , '--wait' ] ) ;
9090
9191 const args = await buildApi ( Promise . resolve ( ) , instance ( experimentsManager ) , instance ( debugAdapterFactory ) , instance ( configurationService ) ) . debug . getRemoteLauncherCommand (
9292 'something' ,
9393 1234 ,
9494 true
9595 ) ;
96- const expectedArgs = [ ptvsdPath , '--default' , '-- host', 'something' , '--port' , '1234' , '--wait' ] ;
96+ const expectedArgs = [ ptvsdPath , '--host' , 'something' , '--port' , '1234' , '--wait' ] ;
9797
9898 expect ( args ) . to . be . deep . equal ( expectedArgs ) ;
9999 } ) ;
0 commit comments