Automattic / Automattic/wordpress-xdebug

Unable to get xdebug working

Open
#9 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
27
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I've followed the [instructions](https://hub.docker.com/r/automattic/wordpress-xdebug) for both my `docker-compose.yml` and VSCode but I'm having trouble getting XDebug to work.

I opened a shell into the `wordpress` docker container and verified that `XDEBUG_CONFIG` is set to `client_host=host.docker.internal`.

VSCode is listening for XDebug but none of my breakpoints are actually triggered.

Just for fun, I ran `phpinfo()` and it seems like remote debugging isn't turned on.
![image](https://user-images.githubusercontent.com/917632/148580472-395f4b82-aec2-42e5-ba9d-753b9b8c0f82.png)

I'm assuming I'm doing something wrong but I'm not sure what.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.