-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdevcontainer-feature.json
More file actions
85 lines (85 loc) · 2.97 KB
/
devcontainer-feature.json
File metadata and controls
85 lines (85 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "Xdebug",
"id": "xdebug",
"version": "1.7.0",
"description": "Configures Xdebug for the Dev Environment",
"options": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Whether to enable Xdebug (`false` is equivalent to setting `mode` to `off`)"
},
"mode": {
"type": "string",
"default": "debug,develop",
"description": "Xdebug mode",
"proposals": [
"off",
"develop",
"coverage",
"debug",
"gcstats",
"profile",
"trace"
]
}
},
"installsAfter": [
"ghcr.io/automattic/vip-codespaces/php"
],
"customizations": {
"vscode": {
"extensions": [
"xdebug.php-debug"
],
"settings": {
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 0,
"runtimeArgs": [
"-dxdebug.start_with_request=yes"
],
"env": {
"XDEBUG_MODE": "debug,develop",
"XDEBUG_CONFIG": "client_port=${port}"
}
},
{
"name": "Launch Built-in web server",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-dxdebug.mode=debug,develop",
"-dxdebug.start_with_request=yes",
"-S",
"0.0.0.0:0"
],
"program": "",
"cwd": "/wp",
"port": 9003,
"serverReadyAction": {
"pattern": "Development Server \\(http://0.0.0.0:([0-9]+)\\) started",
"uriFormat": "http://localhost:%s",
"action": "openExternally"
}
}
],
"compounds": []
}
}
}
}
}