lando / lando/upsun

Platform.sh custom xdebug configuration example not working

Open
#215 0 comments 0 reactions 0 assignees View on GitHub
Needs Triage
Dominant language
JavaScript
Stars
7
Forks
5
Avg merge
1h 17m
Merged PRs (30d)
3

Description

**Link to the page that needs to be updated or changed.**
https://docs.lando.dev/config/platformsh.html#xdebug

**Describe the change you'd like**
The example custom xdebug configuration is not picked up by lando.

```
config:
id: PROJECT_ID
overrides:
app:
runtime:
extensions:
- redis
- xdebug
php:
# XDEBUG 2
xdebug.remote_enable: 1
xdebug.remote_mode: req
xdebug.remote_port: 9000
xdebug.remote_connect_back: 0
```

After placing the configuration in many different places, the following location was discovered to work correctly.
```
name: PROJECT_ID
config:
variables:
app:
php:
xdebug.remote_enable: 1
xdebug.remote_mode: req
xdebug.remote_port: 9000
xdebug.remote_connect_back: 0
overrides:
app:
runtime:
extensions:
- redis
- xdebug
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the Xdebug section at https://docs.lando.dev/config/platformsh.html#xdebug and compare its example with the working configuration shown in the issue. Update the documented configuration so the custom Xdebug settings are placed where Platform.sh picks them up, then verify the example remains valid YAML and renders correctly in the documentation.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.