|
6 | 6 | import * as fs from 'fs-extra';
|
7 | 7 | import { inject, injectable } from 'inversify';
|
8 | 8 | import { ConfigurationChangeEvent, ConfigurationTarget, Event, EventEmitter, Uri } from 'vscode';
|
9 |
| -import { traceError } from '../logging'; |
| 9 | +import { traceError, traceVerbose } from '../logging'; |
10 | 10 | import { IApplicationEnvironment, IWorkspaceService } from './application/types';
|
11 | 11 | import { PythonSettings } from './configSettings';
|
12 | 12 | import { isTestExecution } from './constants';
|
@@ -56,6 +56,7 @@ export class InterpreterPathService implements IInterpreterPathService {
|
56 | 56 | public async onDidChangeConfiguration(event: ConfigurationChangeEvent) {
|
57 | 57 | if (event.affectsConfiguration(`python.${defaultInterpreterPathSetting}`)) {
|
58 | 58 | this._didChangeInterpreterEmitter.fire({ uri: undefined, configTarget: ConfigurationTarget.Global });
|
| 59 | + traceVerbose('Interpreter Path updated', `python.${defaultInterpreterPathSetting}`); |
59 | 60 | }
|
60 | 61 | }
|
61 | 62 |
|
@@ -129,6 +130,7 @@ export class InterpreterPathService implements IInterpreterPathService {
|
129 | 130 | if (persistentSetting.value !== pythonPath) {
|
130 | 131 | await persistentSetting.updateValue(pythonPath);
|
131 | 132 | this._didChangeInterpreterEmitter.fire({ uri: resource, configTarget });
|
| 133 | + traceVerbose('Interpreter Path updated', settingKey, pythonPath); |
132 | 134 | }
|
133 | 135 | }
|
134 | 136 |
|
|
0 commit comments