Skip to content

Commit ba660ad

Browse files
authored
extra logging for exp setting status (#589)
will help debug issues related to the experiment and extension activation
1 parent 501c00c commit ba660ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ async function collectEnvironmentInfo(
152152

153153
export async function activate(context: ExtensionContext): Promise<PythonEnvironmentApi | undefined> {
154154
const useEnvironmentsExtension = getConfiguration('python').get<boolean>('useEnvironmentsExtension', true);
155+
traceInfo(`Experiment Status: useEnvironmentsExtension setting set to ${useEnvironmentsExtension}`);
155156
if (!useEnvironmentsExtension) {
156157
traceWarn(
157158
'The Python environments extension has been disabled via a setting. If you would like to opt into using the extension, please add the following to your user settings (note that updating this setting requires a window reload afterwards):\n\n"python.useEnvironmentsExtension": true',

0 commit comments

Comments
 (0)