phpstorm 2021.2 配置wsl + xdebug调试tp框架

missonce -
phpstorm 2021.2 配置wsl + xdebug调试tp框架
1.配置wsl里php环境并安装xdebug扩展

[XDebug]
zend_extension=xdebug.so
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9001
xdebug.client_port = 9002
xdebug.idekey = "PHPSTORM"
xdebug.remote_autostart = 1
xdebug.remote_handler="dbgp"
xdebug.remote_mode="req"
xdebug.mode="debug"

2.设置phpstorm打开设置-》php
image.png
image.png
image.png
image.png
image.png
image.png
image.png
image.png3.安装浏览器扩展并设置

image.png

看效果

image.png

特别申明:本文内容来源网络,版权归原作者所有,如有侵权请立即与我们联系(cy198701067573@163.com),我们将及时处理。

php介绍

PHP即“超文本预处理器”,是一种通用开源脚本语言。PHP是在服务器端执行的脚本语言,与C语言类似,是常用的网站编程语言。PHP独特的语法混合了C、Java、Perl以及 PHP 自创的语法。利于学习,使用广泛,主要适用于Web开发领域。
上一篇: leetcode-Day1

Tags 标签

phpthinkphp5xdebug

扩展阅读

加个好友,技术交流

1628738909466805.jpg