Mac system, download XAMPP 1.8.3-4 found by default does not support Xdebug, search for the next file, there is xdebug but then phpinfo () does not show the related items.
Modify the php.ini configuration file in the/applications/xampp/xamppfiles/etc/php.ini of the installation directory
zend_extension= "/applications/xampp/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so"
Xdebug.remote_enable=on
Xdebug.remote_handler=dbgp
Xdebug.remote_host=localhost
xdebug.remote_port=9000
Xdebug.profiler_enable=1
Xdebug.profiler_output_name=xdebug.cachegrind-out.%s.%p
Xdebug.remote_log= "/applications/xampp/xamppfiles/logs/xdebug.log"
xdebug.idekey= "Phpstorm"
Restart Apache found that Xdebug has been installed.
Xdebug
Xdebug | Support
enabled |
Version |
2.2.3 |
IDE Key |
Phpstorm |
supported protocols |
revision |
dbgp-common DeBuGger Protocol |
$Revision: 1.145 $ |
Directive |
Local Value |
Master Value |
Xdebug.auto_trace |
Off |
Off |
Xdebug.cli_color |
0 |
0 |
Xdebug.collect_assignments |
Off |
Off |
Xdebug.collect_includes |
On |
On |
Mac version XAMPP setup xdebug support