From a78ba43234f9769102bc52dca3420bc8181e5d36 Mon Sep 17 00:00:00 2001 From: Matthias Andrasch <777278+mandrasch@users.noreply.github.com> Date: Sat, 25 May 2024 12:23:52 +0200 Subject: [PATCH] chore: add files added by vscode / ddev automatically --- .vscode/launch.json | 16 ++++++++++++++++ .vscode/settings.json | 2 +- .vscode/tasks.json | 23 +++++++++++++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2fa7e52 --- /dev/null +++ b/.vscode/launch.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 95cff64..2270727 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "intelephense.environment.phpVersion": "8.1" + "intelephense.environment.phpVersion": "8.2" } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..128c7cf --- /dev/null +++ b/.vscode/tasks.json @@ -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 + } + } + ] +} \ No newline at end of file