de2131cc4e
Closes https://github.com/dart-lang/sdk/pull/59916 GitOrigin-RevId: c76f0db514e00cfb781dd4b1ab7833295afa2865 Change-Id: I6db3edff877ab1807509394c45272f6f8a9c7267 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/404802 Commit-Queue: Devon Carew <devoncarew@google.com> Reviewed-by: Devon Carew <devoncarew@google.com>
Dart Tooling Daemon
The server implementation for the Dart Tooling Daemon. This is meant to be run by our internal tooling and facilitates communication between our internal tools.
For details on the protocol used to communicate with the Dart Tooling Daemon see The DTD Protocol
Running the Dart Tooling Daemon
Compiled version
To run the tooling daemon compiled with the Dart SDK:
- make sure to build with
create_platform_sdk - e.g.
./tools/build.py create_platform_sdk
- run
dart tooling-daemon:info The dart binary should be the one you just built in step 1.
Testing changes
To quickly test changes to the tooling daemon, start it by running:
dart run bin/dtd.dart