@@ -144,17 +144,20 @@ export class EnvironmentActivationService implements IEnvironmentActivationServi
144144 allowExceptions ?: boolean ,
145145 shell ?: string ,
146146 ) : Promise < NodeJS . ProcessEnv | undefined > {
147+ console . log ( 'EJFB 2.1' ) ;
147148 const stopWatch = new StopWatch ( ) ;
148149 // Cache key = resource + interpreter.
149150 const workspaceKey = this . workspace . getWorkspaceFolderIdentifier ( resource ) ;
151+ console . log ( 'EJFB 2.2' ) ;
150152 interpreter = interpreter ?? ( await this . interpreterService . getActiveInterpreter ( resource ) ) ;
153+ console . log ( 'EJFB 2.3' ) ;
151154 const interpreterPath = this . platform . isWindows ? interpreter ?. path . toLowerCase ( ) : interpreter ?. path ;
152155 const cacheKey = `${ workspaceKey } _${ interpreterPath } _${ shell } ` ;
153-
156+ console . log ( 'EJFB 2.4' ) ;
154157 if ( this . activatedEnvVariablesCache . get ( cacheKey ) ?. hasData ) {
155158 return this . activatedEnvVariablesCache . get ( cacheKey ) ! . data ;
156159 }
157-
160+ console . log ( 'EJFB 2.5' ) ;
158161 // Cache only if successful, else keep trying & failing if necessary.
159162 const memCache = new InMemoryCache < NodeJS . ProcessEnv | undefined > ( CACHE_DURATION ) ;
160163 return this . getActivatedEnvironmentVariablesImpl ( resource , interpreter , allowExceptions , shell )
@@ -166,9 +169,11 @@ export class EnvironmentActivationService implements IEnvironmentActivationServi
166169 stopWatch . elapsedTime ,
167170 { failed : false } ,
168171 ) ;
172+ console . log ( 'EJFB 2.6' ) ;
169173 return vars ;
170174 } )
171175 . catch ( ( ex ) => {
176+ console . log ( 'EJFB 2.7' ) ;
172177 sendTelemetryEvent (
173178 EventName . PYTHON_INTERPRETER_ACTIVATION_ENVIRONMENT_VARIABLES ,
174179 stopWatch . elapsedTime ,
0 commit comments