- 下载phpstorm2018 ,wampserver3 ,百度下载
- 安装phpstorm2018 ,wampserver3
- 下载chrom 插件,xdebug helper ,百度下载
1.xdebug helper 在谷歌浏览器安装插件
将下载的文件,修改后缀名为rar,然后解压。
打开谷歌浏览器的菜单,扩展程序,安装插件
安装成功后的截图
2.打开phpStrom新建工作空间
2.配置php环境
新建部署配置图示
新建php cli interpreter 配置 ,xdebug 配置 ,此处配置,php文件可以以脚本的方式debug,无需通过web server