Skip to content

Do not render web console for non-HTML requests #317

@DanielHeath

Description

@DanielHeath

If I get an error fetching some JSON in an XHR request, rendering web-console isn't going to help; I'm better off dropping into a debugger on the server process.

Any interest in adding merging a PR adding rails configuration setting like config.web_console.skip_request? = lambda {|request| request.xhr?}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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