title: CakePHP debugging in NetBeans
body: <p>I'm developing a CakePHP project and i need to debug the project with Netbeans debug tools. I have used <a href="http://www.tiplite.com/cakephp-debug-in-netbeans/" rel="nofollow">this</a> post to configure debugging but it does not work. Break points are not hit. </p>
  
  <p><strong>php.ini</strong></p>
  
  <pre><code>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
  </code></pre>
  
  <p><strong>Project Location</strong></p>
  
  <pre><code>D:\wamp\www\MoDACA
  </code></pre>
  
  <p><strong>PHP Debugging Options</strong> (in Tools > Options )</p>
  
  <pre><code>Debugger Port: 8080
  Session ID: netbeans-xdebug
  Max Data Length : 2048
  Stop at First Line : True
  </code></pre>
  
  <p><strong>NetBeans Run Configuration</strong></p>
  
  <pre><code>Project URL: http://localhost:8080/MoDACA/
  Index File: index.php
  </code></pre>
  
  <p><strong>Advanced Settings</strong></p>
  
  <pre><code>Debug URL : Ask Everytime
  Debugger Proxy
  Host: empty Port: 9001
  Warning - Path Mapping might be needed.
  </code></pre>
  
  <p>The project is set as the Main Project. I set the break point in the <code>StudentsController</code> in function <code>editStudent</code>. When i clicki debug i set the specific URL as</p>
  
  <pre><code>http://localhost:8080/MoDACA/students/editStudent/1
  </code></pre>
  
  <p>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?</p>