diff --git a/.gitignore b/.gitignore index f6f8018..c529637 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ /.idea /.nova /.phpunit.cache -/.vscode /.zed /auth.json /node_modules 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 new file mode 100644 index 0000000..5127ce3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "intelephense.environment.phpVersion": "8.4" +} \ 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