Xdebug并没有停留在Symfony项目的突破点

时间:2016-12-21 16:01:08

标签: php symfony phpstorm xdebug

我正在使用MAMP免费版和PhpStorm 为了在MAMP中启用Xdebug,我已将2个php.ini文件修改为this教程:

  

/Applications/MAMP/conf/php5.6.10/php.ini
  /Applications/MAMP/bin/php/php5.6.10/conf/php.ini

现在我可以通过监听PHP调试连接在一些简单的项目中使用xdebug。但是,如果我尝试在Symfony项目中使用它,xdebug只会忽略断点。

以下是我在PhpStorm中对Symfony项目的配置:

enter image description here

enter image description here

enter image description here

enter image description here

UPD:添加了xdebug配置的屏幕截图 enter image description here enter image description here

UPD2:添加了路径映射 enter image description here

1 个答案:

答案 0 :(得分:-1)

我建议您尝试使用chrome XDEBUG扩展程序。这对我来说可以 https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc