Can't connect to Xdebug
2012-04-09 05:38:24 GMT
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 EXTENSION FOR PHP | DOCUMENTATION | INSTALLATION
If you like Xdebug, please consider buying a
Or Flattr this website:
Tailored Installation Instructions
· 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:
If you like Xdebug, and thinks it saves you time and money, please have a look at the donation page.
This site and all of its contents are Copyright © 2002-2012 by Derick Rethans.
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?