Ibn Saeed
Ibn Saeed

Reputation: 3301

How to run XDebug and Zend side by side?

I am using a PHP shopping cart which requires me to use Zend Optimizer.

I am using Netbeans as the IDE, and it requires Xdebug, but that's incompatible with Zend.

These are the lines in my php.ini

zend_extension_ts =
"D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts =
"D:\xampp\php\zendOptimizer\lib\Optimizer"

;zend_extension_ts="./php/ext/php_xdebug-2.0.5-5.2.dll"   **<< Xdebug**

Whenever I enable Xdebug, my shopping cart gives an error and it does not work.

Is there a way to solve this issue or use another Debugger with Netbeans?

Upvotes: 0

Views: 1040

Answers (1)

KahWee Teng
KahWee Teng

Reputation: 14188

AFAIK you cannot use them side by side. You can choose not to specify the debugger in NetBeans and do the old-fashion print_r-style debugging.

Upvotes: 3

Related Questions