PHP調試配置步驟如下:
1.在谷歌浏覽器擴充工具中添加Xdebug helper
2.在PHPStorm配置debug,把debug port 改成9010,
這裡的9010是要和PHP配置檔案php.ini配置的xdebug.remote_port的值保持一緻
php.ini配置的xdebug如下:
PHP調試配置步驟如下:
1.在谷歌浏覽器擴充工具中添加Xdebug helper
2.在PHPStorm配置debug,把debug port 改成9010,
這裡的9010是要和PHP配置檔案php.ini配置的xdebug.remote_port的值保持一緻
php.ini配置的xdebug如下: