Skip to content

XDEBUG documentation #569

@MrUpsidown

Description

@MrUpsidown

I believe things have changed since you last edited the documentation. I am using PHPStorm 2024.2.1 on a Ubuntu VM and I can't get XDEBUG to work.

The documentation is vague, wrong or incomplete. Options mentioned are not to be found in my IDE. I have been trying this for hours now and NEVER got anything to work. I click "Start listening" then "Debug my-ide" buttons in PHPStorm and all I get is Firefox to open on the hostname I have set in the IDE and get a SERVER NOT FOUND error.

For example : http://any-host-as-mentioned-in-the-docs/?XDEBUG_SESSION_START=12790

Please help.

docker-compose.yml

      PHP_XDEBUG: 1
      PHP_XDEBUG_MODE: debug
      PHP_IDE_CONFIG: serverName=my-ide
      PHP_XDEBUG_IDEKEY: "my-ide"
      PHP_XDEBUG_CLIENT_HOST: 172.17.0.1 # Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions