php - Debug Symfony2 projects in PHPStorm -
i have problem in debugging symfony2 applications in phpstorm xdebug because of request::createfromglobals()
method. other project debugs well.
the problem occurs, when execution process meets invocation of method, debugger turns off without error , page rendered.
does know how fix it?
try change app_dev.php to:
... //$loader = require_once __dir__.'/../app/bootstrap.php.cache'; $loader = require_once __dir__.'/../app/autoload.php'; require_once __dir__.'/../app/appkernel.php'; $kernel = new appkernel('dev', true); //$kernel->loadclasscache(); $request = request::createfromglobals(); ...
Comments
Post a Comment