Skip to content

Improve profiler #13944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion profiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install the ``profiler`` :ref:`Symfony pack <symfony-packs>` before using it:

$ composer require --dev symfony/profiler-pack

Now browse any page of your application in the development environment to let
Now, browse any page of your application in the development environment to let
the profiler collect information. Then, click on any element of the debug
toolbar injected at the bottom of your pages to open the web interface of the
Symfony Profiler, which will look like this:
Expand All @@ -24,6 +24,13 @@ Symfony Profiler, which will look like this:
:align: center
:class: with-browser

.. note::

The debug toolbar is only injected on HTML response.
In an API like project, profiler URL is available in the
`X-Debug-Token-Link` HTTP header of the response.
You can see all profiles by going to the ``/_profiler`` URL.

Accessing Profiling Data Programmatically
-----------------------------------------

Expand Down