Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7647497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:28:37+00:00 2026-05-31T10:28:37+00:00

I’ve been having a hell of a time getting Eclipse to debug my CakePHP

  • 0

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..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T10:28:39+00:00Added an answer on May 31, 2026 at 10:28 am

    From the looks of your php.ini, the debugger extension did not load. It’s usually displayed right under the first box, as something like with Xdebug v2.1.0, Copyright (c) 2002-2008, by Derick Rethans…

    So, the first thing you’ll need to make sure is that your server’s PHP ini is set up correctly. Locate the php.ini that the httpd.conf is pointing to, and edit it to include something like this:

    zend_extension_ts=C:\php\ext\php_xdebug-2.1.0-5.3.0.dll
    xdebug.remote_enable=1
    xdebug.remote_host=127.0.0.1
    xdebug.remote_port=9000
    xdebug.remote_handler="dbgp"
    

    Notes:

    • ts means Thread Safe, so make sure that the package you got for the debugger is also ts.
    • The setup is very similar in Linux/Mac, and with the .so debugger extension.
    • The easiest way to get it right is probably to set up a server like XAMPP, which provides compatible debugger extensions.

    Once you get it going, and the php.info shows the xdebug (or Zend Debugger) loaded, you are ready to go.

    In case you have your server in your local machine, the easiest way is to create your project inside the htdocs. That will prevent any issues with source lookup when the debugger is trying to resolve breakpoints, and when the PDT tries to resolve the right file to open.
    (there are path mapping settings you can manipulate, but this will save you the trouble).

    Don’t get confused by the PHP executable debugging (the PHP Script debugger). You need to run a remote debug (even if it’s on the same machine). The PHP Script is only for simple PHP scripts, running as is (not on a server, and like CLI).

    Hope that will help you get started! 🙂

    Update: After Php 5.3 no need to use zend_extension_ts, instead use zend_extension only as mentioned on Php.net http://php.net/manual/en/ini.core.php#ini.zend-extension

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
I am trying to loop through a bunch of documents I have to put
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.