PHP头条
热点:

mac php netbeans xdebug 配置方法详解


本文章来给大家详细介绍关于mac php netbeans xdebug 配置方法详解,希望此教程对各位同学有所帮助哦。

PHP 配置

/opt/local/var/db/php5/xdebug.ini

 代码如下 复制代码

zend_extension=/opt/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
[xdebug]
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.remote_handler=dbgp

1 output_buffering = Off

重启服务器

NetBeans配置

command + , – 选择php标签页
在常规标签中填写
PHP 5 解释器:/opt/local/bin/php(php文件的位置)
调试标签中填写
调试器端口:9000
会话ID:netbeans-xdebug
其他配置根据需要更改

www.phpzy.comtrue/php/5739.htmlTechArticlemac php netbeans xdebug 配置方法详解 本文章来给大家详细介绍关于mac php netbeans xdebug 配置方法详解,希望此教程对各位同学有所帮助哦。 PHP 配置 /opt/local/var/db/php5/xdebug.ini 代码如下 复制代...

相关文章

相关频道:

PHP之友评论

今天推荐