- 下載對應xdebug擴展:官網,PHP7.2.2的xdebug擴展下載
- 下載好之後放到:D:\xampp\php\ex\t路徑下
- 打開php.ini文件配置如下
-
[XDebug] zend_extension="D:\xampp\php\ext\php_xdebug-2.9.0-7.2-vc15.dll" xdebug.remote_autostart=on xdebug.remote_enable=on xdebug.remote_enable=1 xdebug.remote_mode="req" xdebug.remote_log="D:\xampp\php\tmp\xdebug\xdebug.log" xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.remote_handler="dbgp" xdebug.idekey="PhpStorm"