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

XDEBUG documentation #569

Open
MrUpsidown opened this issue Sep 20, 2024 · 0 comments
Open

XDEBUG documentation #569

MrUpsidown opened this issue Sep 20, 2024 · 0 comments

Comments

@MrUpsidown
Copy link

MrUpsidown commented Sep 20, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant