wp-react-starter icon indicating copy to clipboard operation
wp-react-starter copied to clipboard

Incompatable with xdebug 3

Open richdho opened this issue 5 years ago • 1 comments

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.

richdho avatar Mar 22 '21 11:03 richdho

Hey, you could put this here with a PR: https://github.com/devowlio/wp-react-starter/blob/master/devops/scripts/custom-php.ini 😀

matzeeable avatar Dec 30 '21 16:12 matzeeable