Enable XDebug on WAMP using Eclipse

For Windows machine running WAMPServer:

1) Install PDT plugin on your eclipse
2) Download XDebug to match your php
3) Install XDebug – save XDebug dll to wamp_path/bin/php/php5.3.5/ext folder
4) Enable XDebug – update php.ini file
4a) comment zend debugger information
4b) enable xdebug
[xdebug]
xdebug.remote_enable = on
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
; xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "path to tmp folder"
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_port = 9000

5) restart apache
6) Update PHP settings on eclipse to enable XDebug

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.