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.
I'm not even sure on exactly how I'm supposed to be using this thing once it's set up properly.
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:
?debug_host=192.168.1.2%2C127.0.0.1&start_debug=1&debug_port=10000&original_url=http%3A%2F%2Flocalhost%2Fparticipants&send_sess_end=1&debug_stop=1&debug_start_session=1&debug_no_cache=1331422177353&debug_session_id=1000
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?
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.
Here's my phpinfo(): https://sites.google.com/site/kylephpinfo/phpinfo.html?attredirects=0&d=1
I've never had so much trouble getting a debugger to work in my life..