-
Notifications
You must be signed in to change notification settings - Fork 29.8k
add host and port to run configuration for web devices #40191
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
add host and port to run configuration for web devices #40191
Conversation
Codecov Report
@@ Coverage Diff @@
## master #40191 +/- ##
=========================================
- Coverage 59.32% 59.03% -0.3%
=========================================
Files 192 192
Lines 18543 18551 +8
=========================================
- Hits 11001 10951 -50
- Misses 7542 7600 +58
Continue to review full report at Codecov.
|
|
@nturgut could you try this out locally and confirm that it works for yoou? |
|
|
||
| /// Retrieve the [DebugConnection] for the current application. | ||
| /// | ||
| /// if [useExtension] is true, will attempt to connect via the extension |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: "if" => "If"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, are you sure "useExtension" is a thing? I don't see any other occurrences of it in this file 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
..right, I removed it... silly me
| } | ||
|
|
||
| void usesWebOptions({ bool hide = true }) { | ||
| argParser.addOption('hostname', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about --web-hostname and --web-port ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
Description
Allow configuration of the hostname and port number chosen for running the web devices, via
--hostnameand--port. if not specified, they default tolocalhostand an arbitrary free os port by default.