首页 > php安装 > mac php netbeans xdebug 配置方法详解

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,其他配置根据需要更改.


永久链接:http://www.phprm.com/install/fs4790.html

转载随意!带上文章地址吧。

标签:php mac netbeans xdebug配置

相关文章

发表留言