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:
2626
2727.. note ::
2828
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.
3333
3434Accessing Profiling Data Programmatically
3535-----------------------------------------
@@ -213,7 +213,7 @@ event::
213213 if (!$this->getKernel()->isDebug()) {
214214 return;
215215 }
216-
216+
217217 $request = $event->getRequest();
218218 if (!$request->isXmlHttpRequest()) {
219219 return;
You can’t perform that action at this time.
0 commit comments