ionic-team / ionic-team/ionic-cli
feat: consolelogs flag for cap run like Cordova
- 主要語言
- 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.
貢獻指南
研究方向
Start at the cap run command in the Capacitor CLI and compare its logging flow with Cordova's --consolelogs behavior. Identify the platform-specific entry points needed to stream console statements to the terminal, then verify that cap run --consolelogs produces them while normal cap run behavior remains unchanged.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100