Search code examples
phpxdebugeclipse-pdt

Eclipse PDT - Unable to begin PHP Debugging - Stuck at 78%


I can not seem to get the PHP Debugger Tool in Eclipse to launch a debugging session.

Settings I have used to configure debugging are below.

Additionally I have changed my ports for xdebug to 19000 and for zend debugger to 30000

php.ini

; XDEBUG Extension

zend_extension=c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll

[xdebug]
xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=19000
xdebug.remote_handler="dbgp"

1) Clicked on Run -> Debug Configurations -> Server Tab Run Configurations Server Setting

2) Clicked on Run -> Debug Configurations -> Debugger Setting Run Configurations Debugger Setting

3) Clicked on Window -> Preferences -> Clicked on PHP Filter To Expand on Left of Window -> Installed Debuggers -> XDebug

Window Preferences PHP Filter XDebugger Setting

4) Clicked on Window -> Preferences -> Clicked on PHP Filter To Expand on Left of Window -> Installed Debuggers -> XDebug

Run Configurations XDebug DBGp Debugger Setting

5) Clicked on Run -> Debug Configurations -> Server Debugger Drop Down -> Zend Debugger Settings

Zend Debugger Settings


Solution

  • Thank you both zulus and axxis for your comments!

    Here is the steps to achieve the resolution.

    1) Go to http://xdebug.org/wizard.php

    2) Construct the following phpinfo in your webserver script and run it directly in a browser.

    <?php
        phpinfo();
    ?>
    

    3) Highlight the entire page or press (ctrl + a) the contents of the html page (not the page html source code) into the page referenced in step 1.

    4) Final screen shot shows the file to download (pointed to by big arrow) and the path (enclosed by rectangle).

    phpinfo

    xdebug phpinfo dump

    xdebug phpinfo result

    The problem was solved by placing the downloaded php_xdebug-2.3.2-5.5-vc11-x86_64.dll file into 1) and not 2).

    1) C:\wamp\bin\php\php5.5.12\ext

    2) C:\wamp\bin\php\php5.5.12\zend_ext