Skip to content

Commit

Permalink
chore: add files added by vscode / ddev automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
mandrasch committed May 25, 2024
1 parent cbfac74 commit a78ba43
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"intelephense.environment.phpVersion": "8.1"
"intelephense.environment.phpVersion": "8.2"
}
23 changes: 23 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -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
}
}
]
}

0 comments on commit a78ba43

Please sign in to comment.