0

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.

2
  • 3
    View the source of the generated html. The html needs to be more or less valid before the profile toolbar will be shown. Commented Aug 16, 2015 at 16:12
  • Your answer is here. Web Profiler not showing up in dev Commented Aug 16, 2015 at 22:06

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.