Help with Eclipse PHP Xdebug debugging

Discussion in 'PHP' started by CurlyDigital, Sep 5, 2009.

  1. #1
    Hi All,

    I am new to PHP and I am using WAMP with eclipse and XDebug.


    I have followed the steps defined in webpages related to setting XDebug for Eclipse but I am not
    able get the debug stop in breakpoint.I have followed the following steps.


    Have PHP, Eclipse working fine in my machine

    1. Downloaded the respective dll and placed in C:\PHP\ext
    2. Changed the php config files with following information.
    zend_extension_ts="C:xamppphpextphp_xdebug-2.0.3-5.2.5.dll"
    xdebug.remote_enable=true
    xdebug.remote_host=127.0.0.1 ; if debugging on remote server,
    ; put client IP here
    xdebug.remote_port=9000
    xdebug.remote_handler=dbgp
    xdebug.profiler_enable=0
    xdebug.profiler_output_dir="C:xampptmp"

    3. Commented any zend information there.
    4. I was able to see the XDebug information when I run PHinfo().
    5. Changed all the configuration in Eclipse under Run --> Debug Configuration.


    and after doing all this I am not able to get the XDebug stop in the breakpoint.
    Please do guys let me know if there is something which is missed.

    Thanks
     
    CurlyDigital, Sep 5, 2009 IP