How to run XDebug and Zend side by side?
-
11-09-2019 - |
Question
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?
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow