Skip to content

Commit dcf9b96

Browse files
committed
Add mock session startup logging
1 parent a178617 commit dcf9b96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ function manageBackgroundServices(
8686
standalone.on('mock-session-started', async ({ http, webrtc }, sessionId) => {
8787
const httpProxyPort = http.getMockServer().port;
8888

89+
console.log(`Mock session started, http on port ${
90+
httpProxyPort
91+
}, webrtc ${
92+
!!webrtc ? 'enabled' : 'disabled'
93+
}`);
94+
8995
startDockerInterceptionServices(httpProxyPort, httpsConfig, ruleParameters)
9096
.catch((error) => {
9197
console.log("Could not start Docker components:", error);

0 commit comments

Comments
 (0)