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:\phpStudy\php53n\ext\php_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:\phpStudy\php53n\debug.log"
xdebug.idekey="PHPSTORM"

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

 

posted @ 2016-12-17 14:51  layfork  阅读(177)  评论(0编辑  收藏  举报