Commit 74fe4018 authored by Eric Seidel's avatar Eric Seidel

Merge pull request #3295 from eseidelGoogle/fix_drive

Move flutter drive to use 8183 to not conflict with diagnostic server
parents dd81a21c 341bd476
...@@ -41,8 +41,8 @@ class FlutterDriver { ...@@ -41,8 +41,8 @@ class FlutterDriver {
/// Resumes the application if it is currently paused (e.g. at a breakpoint). /// Resumes the application if it is currently paused (e.g. at a breakpoint).
/// ///
/// [dartVmServiceUrl] is the URL to Dart observatory (a.k.a. VM service). By /// [dartVmServiceUrl] is the URL to Dart observatory (a.k.a. VM service). By
/// default it connects to `http://localhost:8182`. /// default it connects to `http://localhost:8183`.
static Future<FlutterDriver> connect({String dartVmServiceUrl: 'http://localhost:8182'}) async { static Future<FlutterDriver> connect({String dartVmServiceUrl: 'http://localhost:8183'}) async {
// Connect to Dart VM servcies // Connect to Dart VM servcies
_log.info('Connecting to Flutter application at $dartVmServiceUrl'); _log.info('Connecting to Flutter application at $dartVmServiceUrl');
VMServiceClientConnection connection = await vmServiceConnectFunction(dartVmServiceUrl); VMServiceClientConnection connection = await vmServiceConnectFunction(dartVmServiceUrl);
......
...@@ -60,7 +60,7 @@ class DriveCommand extends RunCommandBase { ...@@ -60,7 +60,7 @@ class DriveCommand extends RunCommandBase {
); );
argParser.addOption('debug-port', argParser.addOption('debug-port',
defaultsTo: '8182', defaultsTo: '8183',
help: 'Listen to the given port for a debug connection.'); help: 'Listen to the given port for a debug connection.');
} }
......
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