sdk icon indicating copy to clipboard operation
sdk copied to clipboard

[dds] Start DTD from the DevTools server

Open kenzieschmoll opened this issue 1 year ago • 1 comments
trafficstars

When the DevTools server is started from an IDE, the IDE starts DTD and then passes the dtd uri to DevTools server. However, when the DevTools server is started from a CLI environment (i.e. if a user runs dart run or flutter run, then DevTools server will be spawned without a DTD uri being passed from an IDE.

In this case, we want to start DTD from DevTools server and manage the lifecycle. CC @CoderDake @bkonyi

kenzieschmoll avatar Feb 16 '24 00:02 kenzieschmoll

Item Details
Summary The DevTools server should start DTD when started from a CLI environment.
Triage to area-devtools (high confidence)

(what's this?)

dart-github-bot avatar Feb 16 '24 01:02 dart-github-bot

It makes sense to do something like this to get DTD support for the CLI use cases.

However, I think we should sit down at some point and collect all the details about how we're launching our various services and daemons to see if we can simplify things a bit. For example, DDS and DevTools are both served in at least 3-4 different ways. It'd be great if we could create a single way to start each of these services (preferably together) rather than having them launched differently based on the context.

bkonyi avatar Feb 26 '24 19:02 bkonyi