IT源码网

phpstorm的调试工具xdebug

flyfish 2021年02月16日 编程语言 497 0

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开始调试。

 

评论关闭
IT源码网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!