使用IDEA开发调试thinkphp

一、配置php插件和环境,当前使用php7.1.9,点击设置配置扩展组件,如下图

修改php.ini 文件

在php.ini 文件中修改并增加 xdebug 相关配置,修改增加内容如下**********

[xdebug]
zend_extension=xdebug
xdebug.remote_enable=1
xdebug.remote_autostart=1 xdebug.remote_host=127.0.0.1 xdebug.remote_port=9003

 

 二、配置IDEA

 

 

三、打开网站

 刷新页面后开发工具进入断点

 

posted @ 2024-05-25 17:13  mingruqi  阅读(267)  评论(0编辑  收藏  举报