ionic-team / ionic-team/ionic-cli

feat: consolelogs flag for cap run like Cordova

未关闭
#4,733 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

## Feature Request
Add a --consolelogs option for "cap run" to output console statements to the terminal.

### Description
Cordova has an option --consolelogs which outputs console statements to the terminal. Capacitor doesn't have this feature which means "cap run" is more difficult to quickly debug.

### Platform(s)
Capacitor CLI

### Alternatives
The alternative is to either open the XCode IDE and view logs there (defeating the purpose of "cap run") or open Safari and view the console via attaching to the device.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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