File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ Symfony Profiler, which will look like this:
26
26
27
27
.. note ::
28
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 .
29
+ The debug toolbar is only injected into HTML responses. For other kinds of
30
+ contents (e.g. JSON responses in API requests) the profiler URL is available
31
+ in the `` X-Debug-Token-Link `` HTTP response header. Browse the `` /_profiler ``
32
+ URL to see all profiles.
33
33
34
34
Accessing Profiling Data Programmatically
35
35
-----------------------------------------
@@ -213,7 +213,7 @@ event::
213
213
if (!$this->getKernel()->isDebug()) {
214
214
return;
215
215
}
216
-
216
+
217
217
$request = $event->getRequest();
218
218
if (!$request->isXmlHttpRequest()) {
219
219
return;
You can’t perform that action at this time.
0 commit comments