ionic-team / ionic-team/ionic-cli

feat: consolelogs flag for cap run like Cordova

Open
#4,733 4 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.