2

Symfony2 compiles all classes into single cached file called classes.php which is very hard to debug. Is it possible to turn off this feature in dev mode?

1 Answer 1

5

Have a look at http://symfony.com/doc/2.0/cookbook/debugging.html More about :

$kernel = new AppKernel('dev', true);
// $kernel->loadClassCache();
$kernel->handle(Request::createFromGlobals())->send();
Sign up to request clarification or add additional context in comments.

1 Comment

in other words: just comment out the $kernel->loadClassCache(); in app_dev.php

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.