我在哪里可以更改 Xdebug 的设置?
Where can I change the settings of the Xdebug?
phpinfo()
显示配置路径:/etc/php5/apache2/conf.d/20-xdebug.ini
但是文件只包含一个字符串:zend_extension=xdebug.so
文件 usr/lib/php5/20100525/xdebug.so
如下所示:
在php.ini中没有包含"xdeb"或"remote_connect"
的行
UP:我需要什么? phpinfo()
表示 xdebug.remote_connect_back
设置已关闭。我需要打开它。
只需在 /etc/php5/apache2/conf.d/20-xdebug.ini 中填写类似 :
的内容
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.max_nesting_level=10000
;...
并重启apache。 xdebug 中的所有设置都可用 here
phpinfo()
显示配置路径:/etc/php5/apache2/conf.d/20-xdebug.ini
但是文件只包含一个字符串:zend_extension=xdebug.so
文件 usr/lib/php5/20100525/xdebug.so
如下所示:
在php.ini中没有包含"xdeb"或"remote_connect"
的行UP:我需要什么? phpinfo()
表示 xdebug.remote_connect_back
设置已关闭。我需要打开它。
只需在 /etc/php5/apache2/conf.d/20-xdebug.ini 中填写类似 :
的内容zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.max_nesting_level=10000
;...
并重启apache。 xdebug 中的所有设置都可用 here