forked from firka/flutter
Temporarily disable Dart Development Service in flutter_tools (#62508)
Devtools doesn't currently support connections to DDS. Disable DDS temporarily while a solution is worked on. See https://github.com/flutter/flutter/issues/62507
This commit is contained in:
@@ -15,6 +15,9 @@ import 'logger.dart';
|
||||
class DartDevelopmentService {
|
||||
DartDevelopmentService({@required this.logger});
|
||||
|
||||
// TODO(bkonyi): enable once VM service can handle SSE forwarding for
|
||||
// Devtools (https://github.com/flutter/flutter/issues/62507)
|
||||
static const bool ddsDisabled = true;
|
||||
final Logger logger;
|
||||
dds.DartDevelopmentService _ddsInstance;
|
||||
|
||||
@@ -22,6 +25,13 @@ class DartDevelopmentService {
|
||||
Uri observatoryUri,
|
||||
bool ipv6,
|
||||
) async {
|
||||
if (ddsDisabled) {
|
||||
logger.printTrace(
|
||||
'DDS is currently disabled due to '
|
||||
'https://github.com/flutter/flutter/issues/62507'
|
||||
);
|
||||
return;
|
||||
}
|
||||
final Uri ddsUri = Uri(
|
||||
scheme: 'http',
|
||||
host: (ipv6 ?
|
||||
|
||||
Reference in New Issue
Block a user