Skip to content

[WebProfilerBundle] Allow customizing "maxTries" option in debug toolbar #31422

@czechmarcin

Description

@czechmarcin

Symfony version(s) affected: 3.4.x

Description
The hardcoded maxTries option disables the profiler toolbar with longer requests. It should be configurable.
ref:https://github.com/symfony/symfony/blob/3.4/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_js.html.twig#L124

How to reproduce
Load a page which embeds another controller in the template. The embedded controller should be slow and respond after ~10-15 seconds. After loading the page, maxTries limit will disable the web profiler.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions