Launchjson for civibuild sites » History » Version 1
Brienne Kordis, 09/23/2022 02:51 PM
| 1 | 1 | Brienne Kordis | # launch.json for civibuild sites |
|---|---|---|---|
| 2 | |||
| 3 | ``` |
||
| 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 | "version": "0.2.0", |
||
| 9 | "configurations": [ |
||
| 10 | { |
||
| 11 | "name": "Listen for XDebug", |
||
| 12 | "type": "php", |
||
| 13 | "request": "launch", |
||
| 14 | "port": 9001, |
||
| 15 | "xdebugSettings": { |
||
| 16 | "max_children": 150, |
||
| 17 | "max_data": 9999, |
||
| 18 | "max_depth": 6, |
||
| 19 | "show_hidden": 1 |
||
| 20 | } |
||
| 21 | }, |
||
| 22 | { |
||
| 23 | "name": "XDebug Lite", |
||
| 24 | "type": "php", |
||
| 25 | "request": "launch", |
||
| 26 | "port": 9000, |
||
| 27 | "xdebugSettings": { |
||
| 28 | "max_children": 50, |
||
| 29 | "max_data": 255, |
||
| 30 | "max_depth": 2, |
||
| 31 | "show_hidden": 1 |
||
| 32 | } |
||
| 33 | }, |
||
| 34 | { |
||
| 35 | "name": "XDebug CLI", |
||
| 36 | "type": "php", |
||
| 37 | "request": "launch", |
||
| 38 | "port": 9000, |
||
| 39 | "xdebugSettings": { |
||
| 40 | "max_children": 5000, |
||
| 41 | "max_data": 9999, |
||
| 42 | "max_depth": 6, |
||
| 43 | "show_hidden": 1 |
||
| 44 | } |
||
| 45 | }, |
||
| 46 | { |
||
| 47 | "name": "Launch currently open script", |
||
| 48 | "type": "php", |
||
| 49 | "request": "launch", |
||
| 50 | "program": "${file}", |
||
| 51 | "cwd": "${fileDirname}", |
||
| 52 | "port": 9000, |
||
| 53 | "stopOnEntry": true |
||
| 54 | } |
||
| 55 | ] |
||
| 56 | } |
||
| 57 | ``` |