XDebug does not stop at breakpoints set in Yii controller actions

I am code in Yii framewor using Netbeans 8.0.1 as well as Eclipse. My local development environment is based on XAMPP. I see that breakpoints set anywhere in Wordpress work very well. But, when I try to set a breakpoint on any Yii controller or action, XDebug won't stop at that point. It only works in index.php

my project.

However xdebug_break()

works for controllers but not for actions.

My settings php.ini

for XDebug

:

[XDebug]
zend_extension = C:\xampp\php\ext\php_xdebug-2.2.5-5.5-vc11.dll
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = 127.0.0.1
xdebug.trace_output_dir = "C:\xampp\tmp"
xdebug.idekey=netbeans-xdebug
xdebug.remote_port=9000
xdebug.remote_log = "c:/xampp/tmp/xdebug_remot.log"
xdebug.show_local_vars = 9
xdebug.max_nesting_level = 250
xdebug.auto_trace=1
xdebug.remote_server = 127.0.0.1

      

I've been trying to deal with this issue for about a week and still haven't come up with any solution.

+3


source to share





All Articles