国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

Vscode或者Trae里面來配置Xdebug調(diào)試webman框架

zhezhebie

直接上效果圖:
截圖

其實很簡單,但是網(wǎng)上說的亂七八糟,實在看不下去了。

修改配置

D:\ProjectsWechat\KiddoPath.vscode\launch.json

"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"log": true,
"port": 9004
},
....

xdebug的配置:

[xdebug]
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.client_port=9004
xdebug.client_host=127.0.0.1
xdebug.log=xdebug.log
xdebug.log_level=7
xdebug.idekey=VSCODE

如果是docker里面的php就下面這樣配置就行了:

[xdebug]
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_port=9004
xdebug.remote_host=host.docker.internal  # 注意這里,這里是宿主機的ip
xdebug.remote_log=/var/log/php/xdebug.log
xdebug.remote_log_level=7
xdebug.idekey=VSCODE

祝大家開發(fā)順利

169 0 1
0個評論

zhezhebie

440
積分
0
獲贊數(shù)
0
粉絲數(shù)
2023-03-30 加入
??