Skip to content

Commit 14fa767

Browse files
debug
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
1 parent f44d7d8 commit 14fa767

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

code/extensions/che-api/src/extension.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,18 @@ export async function activate(_extensionContext: vscode.ExtensionContext): Prom
7777
container.bind(TelemetryService).to(K8sTelemetryServiceImpl).inSingletonScope();
7878
container.bind(Logger).toSelf().inSingletonScope();
7979

80+
console.error('[pending-migration][che-api] init:start container.get(DevfileService)');
8081
const devfileService = container.get(DevfileService) as DevfileService;
82+
console.error('[pending-migration][che-api] init:ok container.get(DevfileService)');
83+
console.error('[pending-migration][che-api] init:start container.get(WorkspaceService)');
8184
const workspaceService = container.get(WorkspaceService) as WorkspaceService;
85+
console.error('[pending-migration][che-api] init:ok container.get(WorkspaceService)');
86+
console.error('[pending-migration][che-api] init:start container.get(GithubService)');
8287
const githubService = container.get(GithubService) as GithubService;
88+
console.error('[pending-migration][che-api] init:ok container.get(GithubService)');
89+
console.error('[pending-migration][che-api] init:start container.get(TelemetryService)');
8390
const telemetryService = container.get(TelemetryService) as TelemetryService;
91+
console.error('[pending-migration][che-api] init:ok container.get(TelemetryService)');
8492
const api: Api = {
8593
getDevfileService(): DevfileService {
8694
return devfileService;
@@ -107,7 +115,9 @@ export async function activate(_extensionContext: vscode.ExtensionContext): Prom
107115
_extensionContext.environmentVariableCollection.replace('WORKSPACE_NAMESPACE', workspaceNamespace);
108116
_extensionContext.environmentVariableCollection.replace('PROJECTS_ROOT', projectsRoot);
109117

118+
console.error('[pending-migration][che-api] init:start ensureKubernetesServiceHostWhitelisted');
110119
await container.get(K8SServiceImpl).ensureKubernetesServiceHostWhitelisted();
120+
console.error('[pending-migration][che-api] init:ok ensureKubernetesServiceHostWhitelisted');
111121

112122
return api;
113123
}

0 commit comments

Comments
 (0)