When I render a template and return a Response from a Controller, there is a nice Web Debug Toolbar on the bottom of the page.
Is it possible to make this bar appear when I don't use template and return a response by creating a Response object myself?
Best Answer
It should be sufficient to make sure there is a valid
<body>...</body>
-block contained in the response-HTML-code. if the body-section is missing, then the debug toolbar won't appear.