Configuration here/usr/local/etc/php/5.6/php.ini
Phpstorm settings for several ports
<code><span>Setting</span><span>Debug</span><span>9090</span><span>Setting</span> DBGp <span>9001</span> Servers <span>80</span></code>
Here is the configuration I am using
<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>
Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.
The above introduces the xdebug configuration of Mac, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.