I'm developing a CakePHP project and i need to debug the project with Netbeans debug tools. I have used this post to configure debugging but it does not work. Break points are not hit.
php.ini
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=8080
xdebug.remote_log="/var/log/xdebug/xdebug.log"
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "D:/wamp/tmp"
xdebug.show_local_vars=0
Project Location
D:\wamp\www\MoDACA
PHP Debugging Options (in Tools > Options )
Debugger Port: 8080
Session ID: netbeans-xdebug
Max Data Length : 2048
Stop at First Line : True
NetBeans Run Configuration
Project URL: http://localhost:8080/MoDACA/
Index File: index.php
Advanced Settings
Debug URL : Ask Everytime
Debugger Proxy
Host: empty Port: 9001
Warning - Path Mapping might be needed.
The project is set as the Main Project. I set the break point in the StudentsController in function editStudent. When i clicki debug i set the specific URL as
http://localhost:8080/MoDACA/students/editStudent/1
I have done the above configuration but when i set the break point in side the editStudent function it is not hit. Can someone please help?