@@ -104,11 +104,13 @@ export class PythonExecutionFactory implements IPythonExecutionFactory {
104104 public async createActivatedEnvironment (
105105 options : ExecutionFactoryCreateWithEnvironmentOptions ,
106106 ) : Promise < IPythonExecutionService > {
107+ console . log ( 'EJFB, inside createAE' ) ;
107108 const envVars = await this . activationHelper . getActivatedEnvironmentVariables (
108109 options . resource ,
109110 options . interpreter ,
110111 options . allowEnvironmentFetchExceptions ,
111112 ) ;
113+ console . log ( 'EJFB, 1' ) ;
112114 const hasEnvVars = envVars && Object . keys ( envVars ) . length > 0 ;
113115 sendTelemetryEvent ( EventName . PYTHON_INTERPRETER_ACTIVATION_ENVIRONMENT_VARIABLES , undefined , { hasEnvVars } ) ;
114116 if ( ! hasEnvVars ) {
@@ -117,26 +119,31 @@ export class PythonExecutionFactory implements IPythonExecutionFactory {
117119 pythonPath : options . interpreter ? options . interpreter . path : undefined ,
118120 } ) ;
119121 }
122+ console . log ( 'EJFB,2' ) ;
120123 const pythonPath = options . interpreter
121124 ? options . interpreter . path
122125 : this . configService . getSettings ( options . resource ) . pythonPath ;
123126 const processService : IProcessService = new ProcessService ( { ...envVars } ) ;
127+ console . log ( 'EJFB,2.5' ) ;
124128 processService . on ( 'exec' , this . logger . logProcess . bind ( this . logger ) ) ;
125129 this . disposables . push ( processService ) ;
126-
130+ console . log ( 'EJFB, 3' ) ;
127131 if ( await getPixi ( ) ) {
128132 const pixiExecutionService = await this . createPixiExecutionService ( pythonPath , processService ) ;
133+ console . log ( 'EJFB, 3.5' ) ;
129134 if ( pixiExecutionService ) {
130135 return pixiExecutionService ;
131136 }
132137 }
133-
138+ console . log ( 'EJFB, 4' ) ;
134139 const condaExecutionService = await this . createCondaExecutionService ( pythonPath , processService ) ;
140+ console . log ( 'EJFB,4.5' ) ;
135141 if ( condaExecutionService ) {
136142 return condaExecutionService ;
137143 }
138-
144+ console . log ( 'EJFB, a5' ) ;
139145 const env = createPythonEnv ( pythonPath , processService , this . fileSystem ) ;
146+ console . log ( 'EJFB,5.5' ) ;
140147 return createPythonService ( processService , env ) ;
141148 }
142149
0 commit comments