Xampp PHPStorm XDebug配置

(1)https://xdebug.org/download.php 下载当前Xampp对应的XDebug版本。

(2)将该dll放入C:xamppphpext

(3)修改Control Panel php.ini

[XDebug]
zend_extension = "C:xamppphpext"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:xampp mp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = on
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "C:xampp mp"
xdebug.remote_port = 9000

(4)配置PhpStrom Debug/Run Configuration (没什么特殊)

原文地址:https://www.cnblogs.com/zhaogaojian/p/5691019.html