PHP debugging in XAMPP

27,334

If you want to use Netbeans and Xampp with debugging, simply open c:\xampp\php\php.ini and add these rows. It worked for me like a charm.

xdebug.remote_handler="dbgp"
xdebug.remote_enable=on
xdebug.remote_port =9000
xdebug.remote_enable = 1
xdebug.profiler_enable = off
xdebug.profiler_trigger = off
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.profiler_output_dir = "C:\xampp\tmp"

Or check this out: Check this out: https://www.youtube.com/watch?v=HbJOP0YcSjs

Share:
27,334
sandbox
Author by

sandbox

Updated on July 09, 2022

Comments

  • sandbox
    sandbox almost 2 years

    Is any debugger is installed by default in XAMPP/WAMP server or We have manually download and configure the debugger? Also do recommend the best PHP debugger.