dart-lang / dart-lang/webdev

Would like access to the vmservice instance before connecting to an application

Open
#675 4 comments 0 reactions 0 assignees View on GitHub
package:dwds type-enhancement
Dominant language
Dart
Stars
224
Forks
94
Avg merge
7h 14m
Merged PRs (30d)
2

Description

I believe the vmservice object is shared across all applications, right? In that case, it would make setup in the flutter runner a lot simpler if I didn't need to wait until I had a connected app to get access to it.

One particular place where this is causing difficulty is that I need to be very careful when I listen to the stdout and stderr streams, otherwise I might miss events on startup.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Flutter runner's setup and the point where the shared vmservice object becomes available; inspect how stdout and stderr listeners are attached during startup. Done means callers can access vmservice before an application connects without missing startup stream events.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.