flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Call the new `ConnectedAppService` DTD methods when VM Service instances are started / stopped

Open kenzieschmoll opened this issue 5 months ago • 0 comments

This issue tracks the IntelliJ work required for https://github.com/dart-lang/sdk/issues/60540.

What needs to be done?

  • Call ConnectedApp.registerVmService when a vm service instance is started
  • Call ConnectedApp.unregisterVmService when a vm service instance is shut down

As a reference the parallel VS code work was addressed in https://github.com/Dart-Code/Dart-Code/pull/5527.

Why? This will give DTD clients the ability to fetch all the active VM services (active debug sessions). Without the ConnectedApp service, this was only possible if DTD was started from VS Code, where the Editor.getDebugSessions method is registered.

kenzieschmoll avatar Jun 12 '25 16:06 kenzieschmoll