title: Netbeans not connecting to xdebug on MAMP, showing "waiting for connection"
body: <p>I am trying to set up xdebug so that I can debug my php wordpress project. I am using MAMP to run the project and have configured xdebug in the php.ini file as follows.</p>
  
  <pre><code>zend_extension="/Applications/MAMP/bin/php/php5.5.26/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so"
  
  debug.default_enable=1
  
  xdebug.remote_enable=1
  xdebug.remote_handler=dbgp
  xdebug.remote_mode=req
  xdebug.remote_host=localhost
  xdebug.idekey=“netbeans-xdebug”
  xdebug.remote_port=9001
  xdebug.remote_autostart=1
  </code></pre>
  
  <p>This is working as I can see xdebug in my phpinfo().</p>
  
  <p><a href="http://i.stack.imgur.com/Rbujv.png" rel="nofollow">phpinfo</a></p>
  
  <p>I'm now trying to connect netbeans to xdebug so that I can actually debug my code. I have pointed netbeasns to xdebug-netbeans at port 9001. I then try to debug my project but it just gets stuck on </p>
  
  <blockquote>
    <p>waiting for connection(netbeans-xdebug)</p>
  </blockquote>
  
  <p>It has worked for me twice (it went to debugging mode) but after clicking continue (it stopped on the first line in index.php) it wouldn't work anymore and the page wouldn't load. I then tried to reload the debugging but it went back to waiting for connection.</p>
  
  <p>Any idea what's wrong?</p>
  
  <p>Thanks.</p>