Unverified Commit 6f5df21e authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

pass through --web-port in release mode too (#40465)

parent 3dcb961d
......@@ -288,6 +288,8 @@ class RunCommand extends RunCommandBase {
return DebuggingOptions.disabled(
buildInfo,
initializePlatform: argResults['web-initialize-platform'],
hostname: featureFlags.isWebEnabled ? argResults['web-hostname'] : '',
port: featureFlags.isWebEnabled ? argResults['web-port'] : '',
);
} else {
return DebuggingOptions.enabled(
......
......@@ -494,7 +494,7 @@ class DebuggingOptions {
this.port,
}) : debuggingEnabled = true;
DebuggingOptions.disabled(this.buildInfo, { this.initializePlatform = true })
DebuggingOptions.disabled(this.buildInfo, { this.initializePlatform = true, this.port, this.hostname })
: debuggingEnabled = false,
useTestFonts = false,
startPaused = false,
......@@ -506,8 +506,6 @@ class DebuggingOptions {
traceSystrace = false,
dumpSkpOnShaderCompilation = false,
verboseSystemLogs = false,
hostname = null,
port = null,
observatoryPort = null;
final bool debuggingEnabled;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment