Minimal xdebug config with Xdebug 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zend_extension="xdebug.so" | |
[xdebug] | |
xdebug.mode = debug | |
xdebug.start_with_request = yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install Xdebug with PECL.
pecl install xdebug
Other ways to install Xdebug:
https://xdebug.org/docs/install
Add the php.ini lines from above to you php.ini. If you dont know where your php.ini is, just type
php -i
and take a look for php.ini or typephp -i | grep php.ini
go get the information.Restart the server.
Set the debugging port to 9003. This is the the standard Xdebug port since Xdebug 3.