Skip to content

Commit bd059ce

Browse files
committed
add logging
1 parent 6f44a0a commit bd059ce

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/extension/common/python.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@ export interface IInterpreterDetails {
2828
const onDidChangePythonInterpreterEvent = new EventEmitter<IInterpreterDetails>();
2929
export const onDidChangePythonInterpreter: Event<IInterpreterDetails> = onDidChangePythonInterpreterEvent.event;
3030
async function activateExtension() {
31+
console.log('Activating Python extension...');
3132
activateEnvsExtension();
3233
const extension = extensions.getExtension('ms-python.python');
3334
if (extension) {
3435
if (!extension.isActive) {
3536
await extension.activate();
3637
}
3738
}
39+
console.log('Python extension activated.');
3840
return extension;
3941
}
4042

src/test/runTest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ async function main() {
2020
// Use cp.spawn / cp.exec for custom setup
2121
if (getOSType() === OSType.Windows) {
2222
const exec = path.basename(cliPath);
23+
console.log(`Using ${exec} to run tests`);
2324
cp.spawnSync(
2425
exec,
2526
[...args, '--install-extension', PVSC_EXTENSION_ID_FOR_TESTS, PVSC_ENVS_EXTENSION_ID_FOR_TESTS],
@@ -39,6 +40,7 @@ async function main() {
3940
},
4041
);
4142
}
43+
console.log('Extensions installed, ready to run tests.');
4244

4345
// Run the extension test
4446
await runTests({

0 commit comments

Comments
 (0)