title: Eclipse PDT Debugging Setup (XDebug/Zend)
body: <p>I've been having a hell of a time getting Eclipse to debug my CakePHP application. I've tried reading through several tutorials (none of which were that great). I've tried using both Zend and XDebug.</p>
  
  <p>I'm not even sure on exactly how I'm supposed to be using this thing once it's set up properly.</p>
  
  <p>I tried setting a break point in my PHP code, right-clicking the PHP file in the text editor, and selecting 'debug php web application', but it never hits the break point. It opens up a browser within eclipse with some GET parameters attached to my normal URL:</p>
  
  <blockquote>
    <p>?debug_host=192.168.1.2%2C127.0.0.1&amp;start_debug=1&amp;debug_port=10000&amp;original_url=http%3A%2F%2Flocalhost%2Fparticipants&amp;send_sess_end=1&amp;debug_stop=1&amp;debug_start_session=1&amp;debug_no_cache=1331422177353&amp;debug_session_id=1000</p>
  </blockquote>
  
  <p>One thing I wasn't sure about in my project php debugging properties was the PHP executable field. It was automatically set to 'none', so I had to create an entry that pointed to '/usr/bin/php'. Maybe this isn't correct?</p>
  
  <p>I went as far as creating a simple application with one php file that just had a few echo statements. I can't get the debugger to hit a breakpoint in that either.</p>
  
  <p>Here's my phpinfo():
  <a href="https://sites.google.com/site/kylephpinfo/phpinfo.html?attredirects=0&amp;d=1" rel="nofollow">https://sites.google.com/site/kylephpinfo/phpinfo.html?attredirects=0&amp;d=1</a></p>
  
  <p>I've never had so much trouble getting a debugger to work in my life..</p>