【发布时间】:2013-05-13 09:01:37
【问题描述】:
我已阅读此文档:http://xdebug.org/docs/remote
我可以调试我的网络应用程序。
但是调试器不会针对控制台命令启动。
我用于 XDebug 的 .ini 文件(有效):
$ cat /etc/php5/fpm/conf.d/xdebug.ini
zend_extension=/usr/lib/php5/20090626/xdebug.so
xdebug.idekey="PHPSTORM"
xdebug.remote_connect_back=1
xdebug.remote_enable=1
cli 的.ini 文件相同。
我也尝试在调试之前添加export XDEBUG_CONFIG="idekey=PHPSTORM remote_enable=1 remote_connect_back=1",但没有帮助。
如何启用它?
【问题讨论】:
-
您查看this blog post 的说明了吗?
标签: command-line-interface xdebug phpstorm