Xdebug in Xampp

3

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?

    
asked by anonymous 02.10.2016 / 22:08

2 answers

3

The default path of php.ini of xampp is this:

C:\xampp\php\php.ini

Just access and edit it.

    
03.10.2016 / 16:16
1

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

    
21.12.2016 / 22:17