Home > php教程 > php手册 > mac php netbeans xdebug 配置方法详解

mac php netbeans xdebug 配置方法详解

WBOY
Release: 2016-06-13 10:10:57
Original
828 people have browsed it

本文章来给大家详细介绍关于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
其他配置根据需要更改

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template