PHPStorm下XDebug配置
2015-04-30 10:53
288 查看
1>XAMPP停止apache服务;
2>在安装目录下找到php.ini,类似于D:\xampp\php\php.ini,打开并找到被注释掉的项目并按如下设置:
zend_extension = "D:\xampp\php\ext\php_xdebug.dll"(根据实际情况确定)
xdebug.remote_enable =1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_mode = "req"
xdebug.remote_port = 9000
xdebug.idekey="PHPSTORM"
3>打开phpStorm,
-进入File>Settings>PHP>Servers,这里要填写服务器端的相关信息,name填localhost,host填localhost,port填
80,debugger选XDebug
-进入File>Settings>PHP>Debug,看到XDebug选项卡,port填9000,其他默认
-进入File>Settings>PHP>Debug>DBGp Proxy,IDE key 填 phpStorm,host 填localhost,port 填80
-点OK退出设置。
2>在安装目录下找到php.ini,类似于D:\xampp\php\php.ini,打开并找到被注释掉的项目并按如下设置:
zend_extension = "D:\xampp\php\ext\php_xdebug.dll"(根据实际情况确定)
xdebug.remote_enable =1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_mode = "req"
xdebug.remote_port = 9000
xdebug.idekey="PHPSTORM"
3>打开phpStorm,
-进入File>Settings>PHP>Servers,这里要填写服务器端的相关信息,name填localhost,host填localhost,port填
80,debugger选XDebug
-进入File>Settings>PHP>Debug,看到XDebug选项卡,port填9000,其他默认
-进入File>Settings>PHP>Debug>DBGp Proxy,IDE key 填 phpStorm,host 填localhost,port 填80
-点OK退出设置。
相关文章推荐
- PHPStorm下XDebug配置
- PHPStorm 配置XDebug 调试PHP代码 详细教程
- PHP添加xdebug插件,配置PHPStorm调试
- PHPStorm的XDebug配置方法
- PHPStorm配置Xdebug调试
- Phpstorm 2017.1+PHPWAMP+Xdebug环境配置以及断点调试
- phpStudy开发环境 PHPStorm下XDebug配置
- phpstorm中配置真正的远程调试(xdebug)
- PHPStorm 中配置 XDebug 实现断点调试
- phpstorm配置远程xdebug
- phpstorm配置Xdebug进行调试PHP教程
- PhpStorm配置XDebug调试PHP
- PHPStorm下XDebug配置
- phpstorm配置Xdebug进行调试PHP教程
- PhpStorm配置Xdebug调试PHP程序
- phpstorm配置Xdebug进行调试PHP教程-新
- phpstorm调试配置 Xdebug
- phpstorm 配置Xdebug进行调试PHP教程
- 为 PhpStorm 配置 Xdebug 来调试代码
- phpstorm配置Xdebug