PHP Debugging using xdebug
Thanks for Ref: http://xdebug.org/docs/install http://xdebug.org/docs/install
About XDebug
XDebug is an opensource Debugger and Profiler for PHP. PDT has built in support for Xdebug, which allows you to step-debug through your PHP projects.
Setup
Installation
The first step is to install XDebug and verify that XDebug is running. See the Installation section of the XDebug manual for how to obtain the extension.
To setup XDebug as your default debugger in PDT, simply configure the Default Settings in the Debug eclipse preference page of PHP
Configuration
The most important setting for xdebug to work with PDT is xdebug.remote_enable = 1. Typically you set this value in your php.ini. To verify that XDebug
is loaded by your server, use the phpinfo() method and check if you can find an XDebug configuration section.
XAMPP server ref step http://robsnotebook.com/php_debugger_pdt_xdebug
No comments:
Post a Comment