Skip to content

Commit ad6b9ff

Browse files
committed
[TASK] Enable xdebug for ddev and add vscode debug config
1 parent 726a3c4 commit ad6b9ff

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.ddev/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ php_version: "7.2"
66
webserver_type: nginx-fpm
77
router_http_port: "80"
88
router_https_port: "443"
9-
xdebug_enabled: false
9+
xdebug_enabled: true
1010
additional_hostnames: []
1111
additional_fqdns: []
1212
mariadb_version: "10.2"

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Folders
22
/.ddev export-ignore
33
/.github export-ignore
4+
/.vscode export-ignore
45
/Build export-ignore
56
/Tests export-ignore
67

.vscode/launch.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "DDEV",
6+
"type": "php",
7+
"request": "launch",
8+
"port": 9000,
9+
"pathMappings": {
10+
"/var/www/html": "${workspaceRoot}"
11+
}
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)