繁体   English   中英

在哪里可以更改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”的行

上:我需要什么? 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的所有设置都在这里可用

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM