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