Skip to content

Commit f6435e3

Browse files
committed
minor symfony#13944 Improve profiler (noniagriconomie)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead. Discussion ---------- Improve profiler Small note improvement for the profiler logic with non html response Also update the screenshot Commits ------- 1e2416a Improve profiler
2 parents 3a00035 + 1e2416a commit f6435e3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

profiler.rst

+8-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ install the ``profiler`` :ref:`Symfony pack <symfony-packs>` before using it:
1515
1616
$ composer require --dev symfony/profiler-pack
1717
18-
Now browse any page of your application in the development environment to let
18+
Now, browse any page of your application in the development environment to let
1919
the profiler collect information. Then, click on any element of the debug
2020
toolbar injected at the bottom of your pages to open the web interface of the
2121
Symfony Profiler, which will look like this:
@@ -24,6 +24,13 @@ Symfony Profiler, which will look like this:
2424
:align: center
2525
:class: with-browser
2626

27+
.. note::
28+
29+
The debug toolbar is only injected on HTML response.
30+
In an API like project, profiler URL is available in the
31+
`X-Debug-Token-Link` HTTP header of the response.
32+
You can see all profiles by going to the ``/_profiler`` URL.
33+
2734
Accessing Profiling Data Programmatically
2835
-----------------------------------------
2936

0 commit comments

Comments
 (0)