@@ -99,13 +99,27 @@ export async function activate(context: ExtensionContext): Promise<PythonEnviron
9999 const config = getConfiguration ( 'python' ) ;
100100 const inspection = config . inspect < boolean > ( 'useEnvironmentsExtension' ) ;
101101
102+ // DEBUG: Log to stdout which will appear in CI logs
103+ console . log ( '[python-envs] activate() called' ) ;
104+ console . log ( '[python-envs] isTestEnvironment:' , isTestEnvironment ) ;
105+ console . log ( '[python-envs] env vars:' , JSON . stringify ( {
106+ VSC_PYTHON_SMOKE_TEST : process . env . VSC_PYTHON_SMOKE_TEST ,
107+ VSC_PYTHON_E2E_TEST : process . env . VSC_PYTHON_E2E_TEST ,
108+ VSC_PYTHON_INTEGRATION_TEST : process . env . VSC_PYTHON_INTEGRATION_TEST ,
109+ } ) ) ;
110+ console . log ( '[python-envs] inspection:' , JSON . stringify ( inspection ) ) ;
111+
102112 // If no one has explicitly set this setting, default to true
103113 const hasExplicitValue = inspection ?. globalValue !== undefined ||
104114 inspection ?. workspaceValue !== undefined ||
105115 inspection ?. workspaceFolderValue !== undefined ;
106116
117+ console . log ( '[python-envs] hasExplicitValue:' , hasExplicitValue ) ;
118+
107119 const useEnvironmentsExtension = isTestEnvironment ||
108120 ( hasExplicitValue ? config . get < boolean > ( 'useEnvironmentsExtension' , true ) : true ) ;
121+
122+ console . log ( '[python-envs] useEnvironmentsExtension:' , useEnvironmentsExtension ) ;
109123 traceInfo ( `Experiment Status: useEnvironmentsExtension setting set to ${ useEnvironmentsExtension } ` ) ;
110124 if ( ! useEnvironmentsExtension ) {
111125 traceWarn (
0 commit comments