Using PHPEclipse/Installation/Installing the DBG Debugger

Somebody knows how to configure php debuger in eclipse??? Write to me admin@it-ideas.eu Download the dbg Debugger from here: http://dd.cron.ru/dbg/downloads.php

Debugger installation for wampp2 distribution (wampp 2.2 contains PHP 4.3.2)
1) copy php_dbg.dll (you must extract it from the downloaded file, according to your php version, and rename to php_dbg.dll) to c:\wampp2\php\extensions

2) edit C:\wampp2\php\php.ini, and review the following parameters:

implicit_flush = On extension_dir = \wampp2\php\extensions\
 * this is to see output while debugging
 * check this parameter

extension=php_dbg.dll
 * add the dbg extension

[debugger] debugger.enabled = true debugger.profiler_enabled = true debugger.JIT_host = clienthost debugger.JIT_port = 7869
 * Add this section at the end of php.ini:

Note: if you would like to use only one php.ini you can maintain for example a central c:\windows\php.ini and delete the C:\wampp2\php\php.ini and C:\wampp2\apache\bin\php.ini

Additional information about the debugger can be found here: DbgBasedDebugger

Debugger installation for xampp distribution (xampp 1.6.3a contains PHP 5.2.3)
1) copy php_dbg.dll (you must extract it from the downloaded file, according to your php version, and rename to php_dbg.dll) to c:\xampp\php\extensions and c:\xampp\php\ext

2) edit C:\xampp\apache\bin\php.ini, and review the following parameters:

implicit_flush = On extension_dir = \xampp\php\ext\
 * this is to see output while debugging
 * check this parameter

[debugger] extension=php_dbg.dll debugger.enabled=on debugger_profiler_enabled=on debugger.hosts_allow=localhost debugger.hosts_deny=ALL debugger.ports=7869, 10000/16
 * Add this section at the end of php.ini:

zend_extension_ts = "C:\xampp\php\ext\php_dbg.dll" as the first line in your Zend section.
 * Add the following line:

Check out this wiki page Using PHPEclipse: Installation: Installing the DBG Debugger. It shows a good example of setting up Eclipse and PHP for debugging.