windows下的webman调试

我搜了好几个教程,他们搞得非常复杂,实际上就配置下php.ini和phpstorm里面的Xdebug的port就行了。

1.php.ini里面xdebug的配置:

[xdebug]
zend_extension = xdebug
xdebug.remote_enable =On
xdebug.remote_host= 127.0.0.1
xdebug.remote_port = 9003
xdebug.default_enable=On
xdebug.idekey="PHPSTORM"
xdebug.remote_autostart=On
xdebug.remote_handler = "dbgp"
xdebug.mode=debug

2.phpstorm里面的配置:

image-20240628160734986

image-20240628152132768

image-20240628152012113

3.最后呈现效果

image-20240628151746054

image-20240628154926715

实际执行的命令就是下面的: 
F:laragonbinphpphp-7.4.28-Win32-vc15-x64php.exe -c F:laragonbinphpphp-7.4.28-Win32-vc15-x64php.ini -dxdebug.mode=debug -dxdebug.client_port=9003 -dxdebug.client_host=127.0.0.1 F:WWWaskmewindows.php restart

第一个箭头所指是是否监听,第二个箭头是运行webman程序但是不debug,第三个是运行webman程序,并进行debug.

所有用户都可以去薅羊毛,192元充值200元话费!先到先得!导航栏话费充值,正规可靠,快充慢充自由选择。
欧阳逸资源站 » windows下的webman调试

发表评论