Skip to content

Commit

Permalink
[TASK] Enable xdebug for ddev and add vscode debug config
Browse files Browse the repository at this point in the history
Releases: master, 9.1, 9.0
Fixes: #33
  • Loading branch information
benjaminkott committed Feb 13, 2019
1 parent 46d5a05 commit 06c3a90
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ php_version: "7.2"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
xdebug_enabled: true
additional_hostnames: []
additional_fqdns: []
mariadb_version: "10.2"
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Folders
/.ddev export-ignore
/.vscode export-ignore
/Build export-ignore
/Tests export-ignore

Expand Down
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "DDEV",
"type": "php",
"request": "launch",
"port": 9000,
"pathMappings": {
"/var/www/html": "${workspaceRoot}"
}
}
]
}

0 comments on commit 06c3a90

Please sign in to comment.