Skip to content

host.docker.internal doesn't resolve for Xdebug on Linux #246

@aksm

Description

@aksm

What?

While trying to debug drush in Linux I discovered that host.docker.internal doesn't resolve. Adding the following to the esmero-php-debug container resolves it:

extra_hosts:
    - "host.docker.internal:host-gateway"

Maybe add it as a commented-out option? But it should at least be documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions