(1)下载XAMPP
(2) 下载phpstrom2020 (低版本很有可能不成功)
(3) 配置php.ini配置文件
xampp本身已经自带了xdebug扩展, 查看phpinfo配置:
配置php.ini
[XDebug]
zend_extension="D:/xampp/php/ext/php_xdebug.dll"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_output_dir="<XAMPP_HOME>\tmp"
(4) 配置phpstrom