Setup xdebug 3 debugger for PHP
Question:
How to setup xdebug 3 debugger for PHP? Answer:
[xdebug]
zend_extension="c:\Program Files\PHP\php-7.4.3\ext\php_xdebug-3.0.2-7.4-vc15-x86_64.dll"
xdebug.mode = debug
Description:
To enable Xdebug in your PHP installation extend your php.ini
file and first add the xdebug
extension. As the next step, you only need to set the debug mode using the xdebug.mode
property and set it to debug
.
Note: The Xdebug default port was changed from 9000
to 9003
.
Reference:
Xdebug debug mode reference
Share "How to setup xdebug 3 debugger for PHP?"
Related snippets:
Tags:
php debugging, setup xdebug, install xdebug, xdebug 3, xdebug 3.0.2 Technical term:
Setup xdebug 3 debugger for PHP