2
I’m trying to debug an app in codeigniter via Xdebug in Netbeans. However, when running my app in debug mode, I can’t reach my controllers or any breakpoints after the first line of codeigniter index.php.
I am running codeigniter 3.0, in xampp and with netbeans 8.1.
In my php.ini the config are like this:
xdebug.remote_autostart=1
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_port= 9000
xdebug.remote_host = "127.0.0.1"
And in the project configs in the codeigniter this so:
Has anyone ever had this problem? The error happens only with the codeigniter any other application I can debug normally
See if the debuger configuration is checked
break at first line
– rray
with this option marked it stops at the first line, without it it stops at no breakpont.
– tkmtts
Try to have the query string p see if it enters break point, call your system in the browser and add
?XDEBUG_SESSION_START=netbeans-xdebug
– rray
even running this way, every new controller I call in my app always stops at the first line of CI index.php,. Very strange the debug even with breakpoint does not stop the application.
– tkmtts