I forgot how to enable debug tools symfony2 provides with the dev environment. I'm sure I'm accessing the project through the app_dev.php, but I still don't get any debug tool wrapped around my site when I visit it from safari.
I'm planning to upgrade my project, but first I need to check whether I'm using deprecated functions, and the debug tools provide this info.
-
3View the source of the generated html. The html needs to be more or less valid before the profile toolbar will be shown.Cerad– Cerad2015-08-16 16:12:06 +00:00Commented Aug 16, 2015 at 16:12
-
Your answer is here. Web Profiler not showing up in devBentCoder– BentCoder2015-08-16 22:06:03 +00:00Commented Aug 16, 2015 at 22:06
Add a comment
|
1 Answer
As said in the comments, you need to have valid html for the profiler to show up.
First I removed everything in my base twig template and wrote 'test'. That wasn't enough. But the following was:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<h>test</h>
</body>
</html>
Now I get the web toolbar I wanted.