环境:win10+PHPstORM2022+phpstudy8+lnmp 1、phpinfo(); 查看是否安装xdebug,没有走以下流程 2、phpstudy中切换不
环境:win10+PHPstORM2022+phpstudy8+lnmp
php.ini 配置文档
[Xdebug]
zend_extension=D:/phpstudy_pro/Extensions/php/php7.3.9nts/ext/php_xdebug.dll
xdebug.idekey=phpstorm
xdebug.remote_enable = On
xdebug.remote_host=localhost
;xdebug.remote_port 默认值为9000,这里需要跟phpstorm配置一致,下面有说明
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.auto_trace = On
刷新浏览器网页,出现以下对勾,表示配置成功
按F7,程序会一步一步往下走,碰到函数的话,会跳转到该函数。
按F8,在当前代码页一行一行的往下走,碰到函数不会跳转。
按F9,从某个断点跳到另一行处断点。
--结束END--
本文标题: phpstorm断点调试方法图文详解
本文链接: https://www.lsjlt.com/news/210919.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0