dart-sdk/third_party/devtools
Ben Konyi ef0e4ea107 [ VM / DDS / CLI ] Add DevTools support to the standalone VM
Example output on stdout when DevTools is enabled:

Observatory listening on http://127.0.0.1:8181/CzkZzZaONW4=/
The Dart DevTools debugger and profiler is available at: http://127.0.0.1:8181/devtools/#/?uri=ws%3A%2F%2F127.0.0.1%3A8181%2FCzkZzZaONW4%3D%2Fws
hello world!

vm-service: isolate(1674461414267555)  'main' has no debugger attached and is paused at exit.  Connect to Observatory at http://127.0.0.1:8181/CzkZzZaONW4=/ to debug.

TEST=pkg/dartdev/test/commands/run_test.dart

Change-Id: Icd1afda87ad4a46f228125d53094d10adf8056ec
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/188361
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2021-05-03 18:24:09 +00:00
..
README
update.sh [ VM / DDS / CLI ] Add DevTools support to the standalone VM 2021-05-03 18:24:09 +00:00

This folder contains a pre-built Dart DevTools instance which can be served
as a web application, as well as the package:devtools_server and package:devtools_shared
from the same revision, used to host and launch DevTools from a Dart process.

First, ensure Flutter is installed and on your path (see https://flutter.dev/docs/get-started/install/linux#install-flutter-manually).

With `flutter` on your path, do the following:

- Run ./update.sh <revision> to build DevTools at a given revision and upload it
  to CIPD. The uploaded CIPD entry will be tagged with `revision:<revision>`
- Update DEPS to point to the newly updated DevTools by providing "revision:<revision>"
  as the version entry for "third_party/devtools"

DevTools CIPD packages are located at https://chrome-infra-packages.appspot.com/p/dart/third_party/flutter/devtools/+/.