Skip to content

[flutter_tool]: support launching DevTools from command line links #71688

@kenzieschmoll

Description

@kenzieschmoll

We have several DevTools issues/feature work that requires support for launching DevTools from a link in the command line. In order to accomplish this, we will need two things:

  1. launch devtools from pub instead of from devtools_server. This will mean that the version of DevTools that is launched is always the latest published version (this mirrors what we do from the IDEs).
  2. launch the devtools server from pub (without launching the web app in chrome) at flutter run so that clicking a CLI link such as 127.0.0.1:9100/#/inspector?widgetId=1234 will hit the already-running server
    • one thing to think about here, is will we have to change the way we launch devtools from ide's if the devtools server is always running? @helin24

@jonahwilliams to add some additional details

FYI @jacob314 @devoncarew

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: devtoolsDevTools related - suite of performance and debugging toolstoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions