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 8730655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:04:06+00:00 2026-06-13T09:04:06+00:00

I have installed Xdebug, and I can confirm from phpinfo() that it is correctly

  • 0

I have installed Xdebug, and I can confirm from phpinfo() that it is correctly installed. I have taken all the steps given in all of the sites that come up with I google “netbeans xdebug install, etc”.

It still does not work in Netbeans.
Is there any advice that someone can offer?

Here is my php.ini debug section…

[xdebug]
zend_extension = /usr/lib/php5/20090626/xdebug.so
xdebug.remote_enable = 1
xdebug.remote_mode = "req"
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.idekey = "netbeans-xdebug"

Any help would be greatly appreciated!

  • 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-06-13T09:04:07+00:00Added an answer on June 13, 2026 at 9:04 am

    Since the information available to me is very sparse, I have to describe the settings in more detail.

    Netbeans and xdebug settings.

    Ubuntu 12.04 LTS Precise Pangolin

    What ought to be installed.

    enter image description here

    enter image description here

    Global settings:

    Tools — Options

    enter image description here

    enter image description here

    PHP settings:

    With phpinfo() you get.. see below image.

    enter image description here

    Only one php.ini is important ! Look at Loaded Configuration File
    If you wrote a xdebug entry into another “php.ini” file be sure to clear all these entries again. ( xdebug ONLY in one php.ini ). Look also at Additional .ini files parsed. We come to this later.

    zend_extension="/usr/lib/php5/20090626+lfs/xdebug.so"
    xdebug.remote_enable=1
    xdebug.remote_handler=dbgp
    xdebug.remote_mode=req
    xdebug.remote_host=localhost
    xdebug.remote_port=9000
    

    enter image description here

    Additional .ini files parsed.
    Add or controlling, only the first line must be the same as in the “php.ini”.( Without ” ” )

    enter image description here

    Make sure that the file is really there!

    enter image description here

    Make sure that the session.save_path is really there!

    enter image description here

    Control the xdebug version that should be equal to or greater.( Matching PHP Version-5.3.10-1 ). If everything was done as described in this answer, and it does not work, then it is with great probability of an incorrect or defective “xdebug.so”.

    enter image description here

    Create a new Php Project:

    enter image description here

    Project Properties:
    Sources
    In our test program, it is important the Project Folder and Source Folder are exactly alike!

    enter image description here

    Run Configuration

    enter image description here

    enter image description here

    Start Debug: — press Debug button

    enter image description here

    The default Browser opens and remains at Connecting .. stand while Netbeans in debug mode is.
    (If Netbeans do not open a Browser or can not connect, go back to Advanced Web Configuration and select Do Not Open Web Browser. Close an reopen the browser and type the URL as seen below)

    enter image description here

    Go through your code. You will see only something in the browser when you’re done with the debugging. Don’t forget to press the Stop Button enter image description here . If you forget this xdebug is running on.

    Done:

    enter image description here

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

Sidebar

Related Questions

I have Xdebug 2.1 installed, and running with PHP 5.2.13. It can successfully connect
I have recently upgraded to Ubuntu 10.04 and as usual installed xdebug from the
How to know the xdebug version I have installed? Regards Javi
I've got xdebug installed fine (showing up in phpinfo()) but I'm trying to get
I just installed WAMP on Windows XP. I have a simple PHP file that
I have installed NB 7.1, WAMPP 1.7.7 (with PHP 5.3.8) and XDebug 2.1.4. I
I have installed PHP and its not working in the Apache Webserver. Steps followed
I've installed WAMP Server on my computer so that I can develop my website,
I have installed xdebug on my computer with windows and it works fine by
I have installed C++SDK that have Qt but when I try compiling a code

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.