PhpStorm2020.1怎么安装调试,邮差调用

  介绍

小编给大家分享一下PhpStorm2020.1怎么安装调试,邮差调用,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获、下面让我们一起去了解一下吧!

<强>一。准备

<强> 1.1下载xdebug

我本地用的是phpStudy的集成环境,php版本是7.2.10

在xdebug下载地址(https://xdebug.org/download/historical)找到合适的版本(这边包含历史版本),我选的是php 7.2 VC15(32位)

<强> 1.2配置php

将下载好的文件放入php下的ext文件夹内,以我本机为例(E: \城堡\ phpStudy \ PHPTutorial \ php \ php-7.2.1-nts \ ext)

php。ini拉到最下面,加上以下内容

[XDebug]   城堡xdebug.profiler_output_dir=癊: \ \ phpStudy \ PHPTutorial \ tmp \ xdebug"   城堡xdebug.trace_output_dir=癊: \ \ phpStudy \ PHPTutorial \ tmp \ xdebug"   城堡zend_extension=癊: \ \ phpStudy \ PHPTutorial \ php \ php-7.2.1-nts \ ext \ php_xdebug 2.9.5 - 7.2 - vc15 nts.dll"   xdebug.remote_enable =1   xdebug.remote_handler =dbgp   时间=xdebug.remote_host “localhost"   xdebug.remote_mode =点播   xdebug.remote_port =9010   xdebug.idekey=癙HPSTORM"   xdebug.remote_autostart =, 1

<强> 1.3打印,phpinfo()页面

看Xdebug是不是已经有了,如果没有一般都是下载的版本错了

 PhpStorm2020.1怎么安装调试,邮差调用“> </p> <p> <强>二。PhpStorm配置</强> </p> <p> <强> 2.1设置处的配置</强> </p> <p> 2.1.1从文件比;设置,输入PHP,红框处的就是我们需要配置的地方</p> <p> <img src=以上是“PhpStorm2020.1怎么安装调试,邮差调用”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注行业资讯频道!

PhpStorm2020.1怎么安装调试,邮差调用