phpstorm的调试工具xdebug

1.需求

知道xdebug的使用方法

2.安装xdebug

http://www.awaimai.com/1290.html

3.配置phpstorm

http://www.awaimai.com/1029.html

4.注意事项

1.下载php32位的xdebug

2.我的php.ini的xdebug配置部分

zend_extension="D:phpStudyphp53nextphp_xdebug-2.2.7-5.3-vc9-nts.dll"

; Debug Config
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.remote_log = "D:phpStudyphp53ndebug.log"
xdebug.idekey="PHPSTORM"

3.phpstorm要配置3个地方,shift+f9开始调试。

原文地址:https://www.cnblogs.com/norm/p/6189694.html