Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 6, 2017

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