wp-react-starter
wp-react-starter copied to clipboard
Incompatable with xdebug 3
Environment:
- Windows 10
- WSL 2
- Ubuntu
When start debugging with xdebug, I can see the start script install xdebug 3 by default and current default config from the container is not working with version 3. After refering to the official guide, I added the following to the php.ini config file in wordpress container
xdebug.client_port = 9000 //xdebug 3 default port is 9003
xdebug.start_with_request = yes
xdebug.discover_client_host=1
xdebug.mode=debug
Now it works, I was wondering where I can put this in this repo for new users.
Hey, you could put this here with a PR: https://github.com/devowlio/wp-react-starter/blob/master/devops/scripts/custom-php.ini 😀