phpstorm xdebug with a symfony2 project

前端 未结 5 1203
無奈伤痛
無奈伤痛 2021-02-04 11:52

I am trying to debug a symfony2 application with xdebug and phpstorm.

My local development environment is Ubuntu 14.04 with apache2 and Xdebug version is 2.2.7

I

5条回答
  •  长情又很酷
    2021-02-04 12:24

    I also had to comment out the loading of class cache (symfony 2.7). I did it temporarily in the web/app_dev.php

    //$kernel->loadClassCache();
    

    Otherwise the debugging took place in bootstrap.php.cache or breakpoints did not work.

提交回复
热议问题