Jump to content

Help with Eclipse PHP Xdebug debugging


Recommended Posts

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

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.