added vscode related files
This commit is contained in:
22
.vscode/launch.json
vendored
Normal file
22
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Listen for Xdebug",
|
||||||
|
"type": "php",
|
||||||
|
"request": "launch",
|
||||||
|
"hostname": "0.0.0.0",
|
||||||
|
"port": 9003,
|
||||||
|
"pathMappings": {
|
||||||
|
"/var/www/html": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"preLaunchTask": "DDEV: Enable Xdebug",
|
||||||
|
"postDebugTask": "DDEV: Disable Xdebug",
|
||||||
|
"skipFiles": [
|
||||||
|
"**/vendor/**/*.php",
|
||||||
|
"**/wp-admin/**/*.php",
|
||||||
|
"**/wp-includes/**/*.php",
|
||||||
|
"**/wp-blog-header.php"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"intelephense.environment.phpVersion": "8.2"
|
||||||
|
}
|
||||||
23
.vscode/tasks.json
vendored
Normal file
23
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "DDEV: Enable Xdebug",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "ddev xdebug on",
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "silent",
|
||||||
|
"close": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "DDEV: Disable Xdebug",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "ddev xdebug off",
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "silent",
|
||||||
|
"close": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user