I always put xdebug on http://stafox.ru/install-and-configure-xdebug/#more-2109 , everything worked fine (well, then I had Windows XP ).
Now it costs 8.1 , but when debugging, the page is launched, in netbeans only the *Finish debugger session* button is available and the breakpoints seem to hang for beauty.

What could be the error?

Part of the php.ini :

 [xdebug] zend_extension = \usr\local\php5\ext\php_xdebug-2.2.5-5.4-vc9.dll xdebug.auto_trace = 0 xdebug.default_enable = 1 xdebug.idekey = netbeans-xdebug xdebug.overload_var_dump = 1 xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger = 1 xdebug.profiler_output_dir="/tmp/xdebug/profiler/" xdebug.profiler_output_name = "cachegrind.out.%u" xdebug.remote_autostart = 1 xdebug.remote_enable = 0 xdebug.remote_handler = dbgp xdebug.remote_host = 127.0.0.1 xdebug.remote_log = "/tmp/xdebug/xdebug.log" xdebug.remote_port = 9000 xdebug.show_local_vars = 1 xdebug.trace_output_dir = "/tmp" xdebug.var_display_max_depth = 6 
  • All Windows after XP received restrictions on the execution / access to files, folders ... I think we need to dig in this direction. - E_p
  • So I put everything from under the admin ... - Konstantin78
  • That's right, but Netbeans works as a regular user. Try running Netbeans under the admin should start working :). - E_p
  • But actually this is not a solution. Somewhere you need to change access rights ... By the way, scan ports 9000, it can be simply closed / unopened ... - E_p
  • yes no, I have a jackdaw in the shortcut that launches netbeans , it’s worth a daw to run from under admin.

1 answer 1

Everything turned out, just the xdebug.remote_enable parameter xdebug.remote_enable to be set to 1 (there is 0 by default).