Hello guys.
I can't use Xdebug to debug a application built with Code Igniter, but i can use it to debug any other PHP file as long it doesn't use the same Structure for url solving that Code Igniter uses.
Meaning: In a simple PHP file with no Code Igniter, when i use NetBeans debugging the browser goes to: http://localhost:86/index.php?XDEBUG_SESSION_START=netbeans-xdebug
Since no Code Igniter or other framework as been used, NetBeans can actually debug the PHP.
But when using Code Igniter when hit the debug button in NetBeans, and the browser goes to:
http://localhost:86/index.php?XDEBUG_SESSION_START=netbeans-xdebug
the root index.php where all happens in Code Igniter no luck, instead i get the standard CodeIgniter "404 Page not Found".
My guess its that due to the structure Segments that Code Igniter uses for url solving, xdebug can't debug nothing.
Example: example.com/class/function/ID
How can i make xdebug work with Code Igniter?
Thanks.
Using:
- Windows 7 32 bits.
- XAMPP version 1.7.3.
- PHP 5.3.1
- Xdebug v2.0.6-dev