Re-enable the Dart Development Service (DDS) (#64671)
This change re-enables DDS and outputs the DDS URI in place of the VM service URI on the console. If --disable-dds is not provided, --host-vmservice-port will be used to determine the port for DDS rather than the host port for the VM service, which will instead be randomly chosen.
This commit is contained in:
@@ -620,7 +620,7 @@ class AndroidDevice extends Device {
|
||||
observatoryDiscovery = ProtocolDiscovery.observatory(
|
||||
await getLogReader(),
|
||||
portForwarder: portForwarder,
|
||||
hostPort: debuggingOptions.hostVmServicePort,
|
||||
hostPort: debuggingOptions.disableDds ? debuggingOptions.hostVmServicePort : 0,
|
||||
devicePort: debuggingOptions.deviceVmServicePort,
|
||||
ipv6: ipv6,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user