do not ignore .vscode

This commit is contained in:
Pedro Cabral
2026-04-20 17:25:32 +02:00
parent 74e27974e2
commit ef3a3ce796
4 changed files with 42 additions and 1 deletions

1
.gitignore vendored
View File

@@ -9,7 +9,6 @@
/.idea /.idea
/.nova /.nova
/.phpunit.cache /.phpunit.cache
/.vscode
/.zed /.zed
/auth.json /auth.json
/node_modules /node_modules

16
.vscode/launch.json vendored Normal file
View 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
View File

@@ -0,0 +1,3 @@
{
"intelephense.environment.phpVersion": "8.4"
}

23
.vscode/tasks.json vendored Normal file
View 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
}
}
]
}