Skip to content

Commit

Permalink
[bridge] Use DebugApp
Browse files Browse the repository at this point in the history
  • Loading branch information
geropl committed Jun 14, 2022
1 parent 60131ac commit fdb3153
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/ws-manager-bridge/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { Container } from "inversify";
import * as express from "express";
import * as prometheusClient from "prom-client";
import { log, LogrusLogLevel } from "@gitpod/gitpod-protocol/lib/util/logging";
import { DebugApp } from "@gitpod/gitpod-protocol/lib/util/debug-app";
import { MessageBusIntegration } from "./messagebus-integration";
import { TypeORM } from "@gitpod/gitpod-db/lib/typeorm/typeorm";
import { TracingManager } from "@gitpod/gitpod-protocol/lib/util/tracing";
Expand Down Expand Up @@ -39,6 +40,9 @@ export const start = async (container: Container) => {
log.info(`prometheus metrics server running on: localhost:${metricsPort}`);
});

const debugApp = container.get<DebugApp>(DebugApp);
debugApp.start();

const bridgeController = container.get<BridgeController>(BridgeController);
await bridgeController.start();

Expand Down

0 comments on commit fdb3153

Please sign in to comment.