flutter / flutter/devtools

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

未关闭
#8,643 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
cost: medium infra P2
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

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).

贡献指南

打开贡献指南

调研方向

从 `dt serve` 入口开始,跟踪 `--machine` 如何格式化输出,以及 `--run-app` 如何读取 stdout。确认两个 flag 预期的机器可读 JSON 流程,然后验证 DevTools 应用能否在该模式下进行调试,包括所述的 VS Code 或 IntelliJ 场景。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
cli, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。