github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/docs/content/users/snippets/launch.json (about)

     1  {
     2      // See https://code.visualstudio.com/docs/editor/debugging#_launch-configurations
     3      // for the documentation about the launch.json format
     4      "version": "0.2.0",
     5      "configurations": [
     6          {
     7              "name": "Listen for Xdebug",
     8              "type": "php",
     9              "request": "launch",
    10              "hostname": "0.0.0.0",
    11              "port": 9003,
    12              "pathMappings": {
    13                  "/var/www/html": "${workspaceFolder}"
    14              },
    15              "preLaunchTask": "DDEV: Enable Xdebug",
    16              "postDebugTask": "DDEV: Disable Xdebug"
    17          }
    18      ]
    19  }