dart-sdk/pkg/dtd_impl
Dan Chevalier 952e3b718f Add --unrestricted to DTD command.
NOTE: the tests view better if you turn off whitespaces on the diff.

This command will start a DTD instance that has the FileSystem service restrictions disabled. Which can be used in development environments.

Bug: https://github.com/dart-lang/sdk/issues/54762
Change-Id: I829f83d7c7afc7dd83732fc8a600cb41ffe36f63
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/352921
Reviewed-by: Kenzie Davisson <kenzieschmoll@google.com>
Commit-Queue: Dan Chevalier <danchevalier@google.com>
2024-02-20 20:08:57 +00:00
..
bin Solidify, test and document DTD errors 2024-01-18 16:07:31 +00:00
lib Add --unrestricted to DTD command. 2024-02-20 20:08:57 +00:00
test Solidify dtd lifecycle 2024-02-13 16:17:18 +00:00
.gitignore
analysis_options.yaml Connecting DTD and DTD_impl together. 2023-12-19 15:36:22 +00:00
CHANGELOG.md
dtd_protocol.md Solidify dtd lifecycle 2024-02-13 16:17:18 +00:00
LICENSE
OWNERS
pubspec.yaml Solidify, test and document DTD errors 2024-01-18 16:07:31 +00:00
README.md Solidify dtd lifecycle 2024-02-13 16:17:18 +00:00

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:

  1. Build the Dart SDK
  • make sure to build with create_platform_sdk
  • e.g. ./tools/build.py create_platform_sdk
  1. 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