How to install XDebug with Eclipse PDT and XAMPP

Can someone tell me how I can install XDebug and integrate it with existing XAMPP and Eclipse PDT. Thanks.

+7
source share
1 answer

This site goes through a very thorough installation process. It tells you how to install XDebug and how to integrate it with Eclipse. However, the only mistake is the configuration of php.ini. If you use the one that it gives you, XDebug will not load properly. I would suggest the following:

[XDebug] ;; Only Zend OR (!) XDebug ; Modify the filename below to reflect the .dll version of your xdebug zend_extension="C:\xampp\php\ext\php_xdebug-2.1.1-5.3-vc9.dll" xdebug.remote_enable=1 xdebug.remote_host=localhost ; if debugging on remote server, ; put client IP here xdebug.remote_port=9000 xdebug.remote_handler="dbgp" xdebug.profiler_enable=1 xdebug.profiler_output_dir="C:\xampp\tmp" xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_name = "xdebug_profile.%R::%u" xdebug.trace_output_dir = "C:\xampp\tmp" 
+5
source

All Articles