Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform.sh custom xdebug configuration example not working #11

Open
scottfalkingham opened this issue May 12, 2021 · 0 comments
Open

Comments

@scottfalkingham
Copy link

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
@rtfm-47 rtfm-47 transferred this issue from lando/lando Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants