I like Zend Debugger more than Xdebug. Because Zend Debugger does fall never when you add some expressions to watch window.
But I use PHPUnit and PHP Code Coverage tools And PHP Code Coverage requires Xdebug. So I need to have some way to use Zend Debugger and Xdebug together.
And I know this way.
You need to load Xdebug before loading Zend Debugger.
See example of php.ini file:
zend_extension=/usr/lib/php5/20090626/xdebug.so
zend_extension=/opt/ZendDebugger/debugger/php-5.3.x/ZendDebugger.so
If you change these two lines you won't get a possibility to use Zend Debugger as debug tool.
But I use PHPUnit and PHP Code Coverage tools And PHP Code Coverage requires Xdebug. So I need to have some way to use Zend Debugger and Xdebug together.
And I know this way.
You need to load Xdebug before loading Zend Debugger.
See example of php.ini file:
zend_extension=/usr/lib/php5/20090626/xdebug.so
zend_extension=/opt/ZendDebugger/debugger/php-5.3.x/ZendDebugger.so
If you change these two lines you won't get a possibility to use Zend Debugger as debug tool.
I prefer to use and recommend CodeLobster IDE
ОтветитьУдалить