Skip to content

feat: consolelogs flag for cap run like Cordova #4733

Description

@dtarnawsky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions