[xdebug-general] Can't connect to Xdebug

From: Webmaster <Webmaster[@]DCNicoll.com>
Date: Sun, 8 Apr 2012 22:38:24 -0700

I have installed NetBeans IDE 7.1.1 and want to be able to debug.

I'm running Windows XP 32-bit

Here's my Summary based on phpinfo. The location to move the downloaded file
in line 2 what also blank before installing xdebug.

 

 

Xdebug

 

 

XDEBUG EXTENSION FOR PHP | DOCUMENTATION | INSTALLATION

home <http://xdebug.org/index.php> | updates
<http://xdebug.org/updates.php> | download <http://xdebug.org/download.php>
| documentation <http://xdebug.org/docs/> | contributing
<http://xdebug.org/contributing.php> | license
<http://xdebug.org/license.php> | support <http://xdebug.org/support.php>
| issue tracker <http://bugs.xdebug.org>

 

If you like Xdebug, please consider buying a
"support agreement <http://xdebug.org/buy-support.php> ".

Or Flattr <https://flattr.com/about> this website:

Tailored Installation Instructions

Summary

. Xdebug installed: 2.1.4

. Server API: Apache 2.0 Handler

. Windows: yes - Compiler: MS VC9 - Architecture: x86

. Zend Server: no

. PHP Version: 5.3.8

. Zend API nr: 220090626

. PHP API nr: 20090626

. Debug Build: no

. Thread Safe Build: yes

. Configuration File Path: C:\WINDOWS

. Configuration File: C:\xampp\php\php.ini

. Extensions directory:

You're already running the latest Xdebug version

But here are the instructions anyway:

1. Download php_xdebug-2.1.4-5.3-vc9.dll
<http://xdebug.org/files/php_xdebug-2.1.4-5.3-vc9.dll>
2. Move the downloaded file to
3. Update C:\xampp\php\php.ini and change the line
zend_extension = \php_xdebug-2.1.4-5.3-vc9.dll
4. Restart the webserver

If you like Xdebug, and thinks it saves you time and money, please have a
look at the donation <http://xdebug.org/donate.php> page.

 

 

This site and all of its contents are Copyright C 2002-2012 by Derick
Rethans.
All rights reserved.

 

 

As you can see in line 2 of the Summary it did not tell me where to put the
dll so I put it in c:\xampp\php

 

In the php.ini I set zend_extension = \php_xdebug-2.1.4-5.3-vc9.dll but that
didn't work so I then set it to zend_extension =
"C:\xampp\php\php_xdebug-2.1.4-5.3-vc9.dll"

I also set the following 4 statements in the c:\xampp\php\ php.ini

xdebug.remote_enable = 0

xdebug.remote_handler = "dbgp"

xdebug.remote_host = "localhost"

xdebug.remote_port = 9000

 

All four lines were commented out originally.

 

When I try to debug in NetBeans I only get a "waiting for connection
(netbeans-xdebug)" indicator at the bottom but it never makes a connections.

 

Can you tell me what I need to do differently to get xdebug to work?

Thank you,

 

Don Nicoll

480.629.8400

 

image001.gif
Received on Mon Apr 09 2012 - 06:44:57 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST