[dt serve] Support running in machine mode and when `--run-app` is true
未关闭
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