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
https://forums.phpfreaks.com/topic/173232-help-with-eclipse-php-xdebug-debugging/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.