Run Xdebug on netbeans to debug Codeigniter

2

I'm trying to debug an app in codeigniter through xdebug on Netbeans. However when I run my app in debug mode, I can not get to my controllers or any breakpoints after the first line of codeigniter index.php.

I am running codeigniter 3.0 on xampp and with netbeans 8.1.

In my php.ini the config looks 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 config in codeigniter it looks like this:

Hasanyoneeverhadthisproblem?TheerrorhappensonlywithcodeigniteranyotherapplicationIcandebugnormally

    
asked by anonymous 08.07.2016 / 19:08

1 answer

2

I was able to solve the problem

In the advanced settings in the run settings menu I left to debug the URL in the default option, and in the path mapping I left blank.

I do not know why, but when I create the project this mapping of the path is filled and removing it, the debug passed smoothly until it reached the breakpoints of my controllers.

More, thanks for the great friend's help rray

    
11.07.2016 / 15:44