I'm having trouble activating xdebug in xampp, since I can not find the directives in xampp to configure xdebug.
How do I add the xdebug extension in xampp's php.ini?
I'm having trouble activating xdebug in xampp, since I can not find the directives in xampp to configure xdebug.
How do I add the xdebug extension in xampp's php.ini?
The default path of php.ini
of xampp
is this:
C:\xampp\php\php.ini
Just access and edit it.
add the following section in your php.ini
[XDebug]
zend_extension_ts = "./php/ext/php_xdebug<version>.dll"
xdebug.remote_enable=1
xdebug.remote_autostart = 1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="<XAMPP_HOME>\tmp"
Source: link