当前位置:网站首页>Vscode + PHP debug + namespace guidelines
Vscode + PHP debug + namespace guidelines
2022-04-23 01:24:00 【Brother Qiang 83】
clear Vscode The cache of
C:\Users\Administrator\AppData\Roaming\Code
Delete Cache and CachedData
PHP Debug

settings.json
{
"php.validate.executablePath": "D:\\openresty-1.19.9.1-win64\\php\\php-8.1.4-nts-Win32-vs16-x64\\php.exe",
"workbench.colorTheme": "Default Light+",
"editor.fontSize": 16,
"intelephense.environment.includePaths": [
"../qgmvc/v1.0",
]
}
PHP.ini xdebug
[xdebug]
zend_extension = xdebug
xdebug.remote_enable=on
xdebug.remote_autostart=on
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.romote_host=localhost
xdebug.remote_port=9003
xdebug.idekey=vsc
xdebug.mode=debug
xdebug.start_with_request=yes
lauch.json
{
// Use IntelliSense Learn about properties .
// Hover to see the description of an existing property .
// For more information , Please visit : https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 0,
"runtimeArgs": [
"-dxdebug.start_with_request=yes"
],
"env": {
"XDEBUG_MODE": "debug,develop",
"XDEBUG_CONFIG": "client_port=${port}"
}
},
{
"name": "Launch Built-in web server",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-dxdebug.mode=debug",
"-dxdebug.start_with_request=yes",
"-S",
"localhost:0"
],
"program": "",
"cwd": "${workspaceRoot}",
"port": 9003,
"serverReadyAction": {
"pattern": "Development Server \\(http://localhost:([0-9]+)\\) started",
"uriFormat": "http://localhost:%s",
"action": "openExternally"
}
}
]
}
Namespace
PHP Namespace Resolver
Ctrl + Alt + i To insert an object Namespace
版权声明
本文为[Brother Qiang 83]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230122402445.html
边栏推荐
- Initial experience of talent plan learning camp: communication + adhering to the only way to learn open source collaborative courses
- 计蒜客:方程的解数
- Interface automation session authentication solution
- GBase8s SQL 引擎框架简介
- Research and application of power monitoring system for employee apartment building construction project
- engine.POST()处理POST请求
- 引爆炸弹(DFS)
- 代码实现发邮件---sendemails
- 稳定币是让公链加速死亡或者取代BTC的超级机会?
- Gbase 8s检查点简介
猜你喜欢

Research and application of power monitoring system in sports training center

王子救公主(DFS)

Thingskit Internet of things platform

In depth report: in the heterogeneous era, chips need to integrate multiple templates

Fault analysis | federated storage engine table causes the monitoring thread to be in the opening table state

engine. Post() handles post requests

Google developer tool preserve log

Examples of branch and loop statements

What is the legal basis and procedure for Tami dog sharing | state owned equity transfer?

Introduction to PCIe xdma IP core (with list) - mingdeyang science and Education (mdy edu. Com)
随机推荐
Live broadcast software | IPTV live broadcast software | TV live broadcast | tvplayer IPTV easyplayer | youwo live broadcast | customized development of super live broadcast software
Originally, this is the correct posture for developers to open world book day!
App中使用微信公众号的模版消息来进行消息推送
Design and application of intelligent lighting control system in hospital
The origin explanation and use example of image pre training model
Thingskit Internet of things platform
10月24号是什么?中国的高级程序员为什么没有五六十岁的,而国外人、、、,玉念聿辉带你过1024程序员节日
Common problems and solutions of crashsight access reporting
World reading day: 18 it books with Douban score above 9.0 are worth collecting
GBase8s SQL 引擎框架简介
Project manager's thinking mode worth trying: project success equation
Research and application of power monitoring system in sports training center
Introduction to gbase 8s storage structure and space management
GBASE 8s分片表管理操作
Blocking type of gbase 8s concurrency control
Let's talk about passive safety again. I'll teach you to understand the rating report of China Insurance Research Institute collision test
Introduction to granularity locking of gbase 8s concurrency control
智能手表的下半场,机遇与挑战并存
Gbase 8s数据库日志简介及管理
2n皇后问题