Skip to content

launcher: support custom port via chrome-debug binary#2644

Merged
paulirish merged 1 commit intomasterfrom
chromedebugport
Jul 6, 2017
Merged

launcher: support custom port via chrome-debug binary#2644
paulirish merged 1 commit intomasterfrom
chromedebugport

Conversation

@paulirish
Copy link
Member

making chrome-debug --port=9222 work


if (args.length) {
chromeFlags = args.filter(flag => flag.startsWith('--'));
port = chromeFlags.find(flag => flag.startsWith('--port=')).replace('--port=', '');
Copy link
Collaborator

@patrickhulce patrickhulce Jul 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

number casting all good already?

nevermind we don't even need to use the port as a number with chrome-debug

@paulirish paulirish merged commit 6df6b0e into master Jul 6, 2017
@paulirish paulirish deleted the chromedebugport branch July 6, 2017 00:11
paulirish added a commit to GoogleChrome/chrome-launcher that referenced this pull request Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants