flutter / flutter/devtools

[dt serve] Support running in machine mode and when `--run-app` is true

Aperta
#8,643 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
cost: medium infra P2
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

When the server is started with `--machine`, it uses machine-readable JSON as the output. Using`--run-app` requires reading the `stdout` which is currently not set up to understand JSON.

Support for this should be added if we want to be able to debug a DevTools app when using `--machine` (for example, to debug a DevTools instance embedded in VS Code or intelliJ).

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start at the `dt serve` entry point and trace how `--machine` formats output and how `--run-app` reads stdout. Confirm the expected machine-readable JSON flow for both flags, then verify that a DevTools app can be debugged in that mode, including the VS Code or IntelliJ scenario described.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart
Ambito
cli, tooling
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.