Add VScode settings
This commit is contained in:
parent
2b6e193c87
commit
5d90466e1d
4 changed files with 52 additions and 0 deletions
16
.vscode/launch.json
vendored
Normal file
16
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"intelephense.environment.phpVersion": "8.1"
|
||||
}
|
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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
10
geo-coop.code-workspace
Normal file
10
geo-coop.code-workspace
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"intelephense.environment.phpVersion": "8.1"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue