Xdebug in xampp not working on netbeans

I am trying to configure xdebug but it does not work:

XAMPP 1.7.4  , Netbeans 7.0
Xdebug installed: 2.1.0rc1 
Server API: Apache 2.0 Handler
Windows: yes - Compiler: MS VC6 - Architecture: x86 
Zend Server: no 
PHP Version: 5.3.5 
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: C:\xampp\php\ext 

And php.ini:

zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.collect_includes = 1
xdebug.collect_params = 1
xdebug.collect_return = 1
xdebug.default_enable = 1
xdebug.extended_info = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.remote_autostart = 1
xdebug.remote_enable = 1
xdebug.remote_handler = "DBGp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000

Now the problems are:

Binding to the Debug menu is still disabled or unavailable.

When I try to debug, the breakpoint never hits. Scripts work as usual.

Below is the url that I get when I click Debug main project:

http: //localhost/index.php? XDEBUG_SESSION_START = netbeans-xdebug

When I close the browser, the debugger does not stop. It shows the status waiting for connection.

When I click the debug stop button in NetBeans, it displays a message There is no connection from xdebug detected with in some secondsxdebug not configured or xdebug not installed.

Please help me solve the above problems and debug the project.

+3
source share
2

xdebug http://localhost/xampp/index.php? , , , php.ini? , XAMPP php.ini :

c:\xampp\apache\bin\php.ini

xdebug , Apache .

Netbeans, .

: http://rudyegenias.wordpress.com/2011/07/03/xampp-xdebug-xdebug-not-showing-in-phpinfo/

0

? XDebug Netbeans XAMPP

[XDebug] zend_extension = C:\xampp\php\ext\php_xdebug-2.2.3-5.5-vc11.dll xdebug.remote_enable=on xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.show_local_vars=on xdebug.output_buffering=off

  • restart apache web server

I struggled with many other settings, but this is best done.

0
source

All Articles