Project

General

Profile

Actions

launch.json for non-civibuild sites

{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387

  "version": "0.2.0",
  "configurations": [
    {
      "name": "Listen for XDebug",
      "type": "php",
      "request": "launch",
      "port": 9000,
      "xdebugSettings": {
        "max_children": 150,
        "max_data": 500,
        "max_depth": 2,
        "show_hidden": 1
      }
      },
      {
      "name": "XDebug CLI",
      "type": "php",
      "request": "launch",
      "port": 9000,
      "xdebugSettings": {
        "max_children": 5000,
        "max_data": 9999,
        "max_depth": 6,
        "show_hidden": 1
      }
      },
      {
      "name": "Launch currently open script",
      "type": "php",
      "request": "launch",
      "program": "${file}",
      "cwd": "${fileDirname}",
      "port": 9000,
      "stopOnEntry": true
    }
  ]
}

Updated by Brienne Kordis about 2 years ago · 1 revisions