首页 >后端开发 >php教程 >xdebug配置Mac

xdebug配置Mac

WBOY
WBOY原创
2016-08-10 08:48:34882浏览

这里只是配置

在这里配置 /usr/local/etc/php/5.6/php.ini

Phpstorm几个端口的设置

<code><span>Setting</span><span>Debug</span><span>9090</span><span>Setting</span> DBGp <span>9001</span>
Servers <span>80</span></code>

下面是我正在使用的配置

<code>[Zend optimizer]
<span>;zend_extension=ZendGuardLoader.so</span><span>;zend_extension  = xdebug.so</span>
zend_loader<span>.enable</span>=<span>1</span>
zend_loader<span>.disable</span>_licensing=<span>0</span>
zend_loader<span>.obfuscation</span>_level_support=<span>3</span><span>;;zend_loader.license_path=</span>
xdebug<span>.remote</span>_host=localhost
xdebug<span>.remote</span>_port=<span>9090</span>
xdebug<span>.idekey</span>=<span>"chunlongyuan"</span>xdebug<span>.remote</span>_enable=on
<span>;xdebug.remote_handler = “dbgp”</span>
xdebug<span>.auto</span>_trace = <span>1</span>
xdebug<span>.collect</span>_includes = <span>1</span>
xdebug<span>.collect</span>_params = <span>1</span>
xdebug<span>.collect</span>_return = <span>1</span>
xdebug<span>.default</span>_enable = <span>1</span>
xdebug<span>.collect</span>_assignments = <span>1</span>
xdebug<span>.collect</span>_vars = <span>1</span>
xdebug<span>.remote</span>_autostart = <span>1</span>
xdebug<span>.remote</span>_connect_back = <span>1</span>
xdebug<span>.show</span>_local_vars = <span>1</span>
xdebug<span>.show</span>_exception_trace = <span>0</span></code>

版权声明:本文为博主原创文章,未经博主允许不得转载。

以上就介绍了xdebug配置Mac,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn