当前位置: 首页 > 后端技术 > PHP

phpstudy&phpstorm安装xdebug

时间:2023-03-29 18:18:31 PHP

1.查看phpstudy的位数,是否是NTS、TS2.下载对应的xdebug.dll文件3.打开php.ini配置,把路径改成自己的!![XDebug]xdebug.remote_enable=1#启用远程调试xdebug.idekey='PHPSTORM'#sessionkeyxdebug.remote_port=9001#远程调试通信端口xdebug.profiler_output_dir="C:phpStudyPHPTutorialtmpxdebug"xdebug.trace_output_dir="C:phpStudyPHPTutorialtmpxdebug""zend_extenC:phpStudyPHPTutorialphpphp-7.1.13-ntsextphp_xdebug-2.7.0-7.1-vc14-nts.dll》4.在phpstorm中配置xdebug,打开设置搜索xdebug,将端口改为9001,避免fast-cgi端口冲突5.xdebughelperunderchrome展开,然后选中它,开启它就变成绿色6.最后在phpstorm中打开监控(小手机)端,访问url调出调试选项!!

最新推荐
猜你喜欢