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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -