- Install PHP through Homebrew
brew install php
1
- Install Xdebug
brew install shivammathur/extensions/xdebug
1
- Verify the installation
php -v
1
- Update Xdebug configuration
[xdebug]
...
xdebug.mode=debug
xdebug.start_with_request=trigger
xdebug.client_port=9003
1
2
3
4
5
2
3
4
5
Comment