Project

General

Profile

Launchjson for non-civibuild sites » History » Version 1

Brienne Kordis, 09/23/2022 02:58 PM

1 1 Brienne Kordis
# launch.json for non-civibuild sites
2
3
```json
4
{
5
  // Use IntelliSense to learn about possible attributes.
6
  // Hover to view descriptions of existing attributes.
7
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
8
  
9
  "version": "0.2.0",
10
  "configurations": [
11
    {
12
      "name": "Listen for XDebug",
13
      "type": "php",
14
      "request": "launch",
15
      "port": 9000,
16
      "xdebugSettings": {
17
        "max_children": 150,
18
        "max_data": 500,
19
        "max_depth": 2,
20
        "show_hidden": 1
21
      }
22
      },
23
      {
24
      "name": "XDebug CLI",
25
      "type": "php",
26
      "request": "launch",
27
      "port": 9000,
28
      "xdebugSettings": {
29
        "max_children": 5000,
30
        "max_data": 9999,
31
        "max_depth": 6,
32
        "show_hidden": 1
33
      }
34
      },
35
      {
36
      "name": "Launch currently open script",
37
      "type": "php",
38
      "request": "launch",
39
      "program": "${file}",
40
      "cwd": "${fileDirname}",
41
      "port": 9000,
42
      "stopOnEntry": true
43
    }
44
  ]
45
}
46
```