Skip to content

Commit

Permalink
log when connection to existing chrome found for requested port (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored Feb 9, 2023
1 parent f64a7d8 commit b041125
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/chrome-launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,11 @@ class Launcher {

// If an explict port is passed first look for an open connection...
try {
return await this.isDebuggerReady();
await this.isDebuggerReady();
log.log(
'ChromeLauncher',
`Found existing Chrome already running using port ${this.port}, using that.`);
return;
} catch (err) {
log.log(
'ChromeLauncher',
Expand Down

0 comments on commit b041125

Please sign in to comment.