Xdebug Time-out connecting to client (Waited: 200 ms). :-(
Отчаялся уже искать. Суть xdebug ломает apache 2.4
Логи xdebug
[6864] Log opened at 2020-03-18 18:42:33
[6864] I: Connecting to configured address/port: localhost:9009.
[6864] E: Time-out connecting to client (Waited: 500 ms). :-(
[6864] Log closed at 2020-03-18 18:42:34
php.ini
[xdebug]
zend_extension = "C:\Server\bin\PHP\ext\php_xdebug-2.9.3-7.3-vc15-x86_64.dll"
xdebug.remote_enable=1
xdebug.remote_port=9009
xdebug.remote_host=localhost
xdebug.remote_log = "C:\Server\logs\xdebug.log"
xdebug.idekey=phpstorm
;xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.remote_mode = req
xdebug.profiler_output_dir="D:\Михаил\homework"
xdebug.collect_includes = 1
xdebug.collect_vars = 1
xdebug.show_local_vars = 1
xdebug.remote_timeout = 500
debug.remote_connect_back=0
как только убираю строчку zend_extension =
сайт работает
логи апача
[Wed Mar 18 22:02:15.470458 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00428: Parent: child process 6756 exited with status 255 -- Restarting.
[Wed Mar 18 22:02:15.698517 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00455: Apache/2.4.41 (Win64) PHP/7.3.15 configured -- resuming normal operations
[Wed Mar 18 22:02:15.698517 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32
[Wed Mar 18 22:02:15.698517 2020] [core:notice] [pid 7692:tid 524] AH00094: Command line: 'c:\\Server\\bin\\Apache24\\bin\\httpd.exe -d C:/Server/bin/Apache24'
[Wed Mar 18 22:02:15.700517 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00418: Parent: Created child process 9132
[Wed Mar 18 22:02:16.241650 2020] [mpm_winnt:notice] [pid 9132:tid 460] AH00354: Child: Starting 64 worker threads.
[Wed Mar 18 22:02:20.016459 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00428: Parent: child process 9132 exited with status 255 -- Restarting.
[Wed Mar 18 22:02:20.236516 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00455: Apache/2.4.41 (Win64) PHP/7.3.15 configured -- resuming normal operations
[Wed Mar 18 22:02:20.236516 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32
[Wed Mar 18 22:02:20.236516 2020] [core:notice] [pid 7692:tid 524] AH00094: Command line: 'c:\\Server\\bin\\Apache24\\bin\\httpd.exe -d C:/Server/bin/Apache24'
[Wed Mar 18 22:02:20.238517 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00418: Parent: Created child process 3788
[Wed Mar 18 22:02:20.776655 2020] [mpm_winnt:notice] [pid 3788:tid 476] AH00354: Child: Starting 64 worker threads.
[Wed Mar 18 22:02:24.348488 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00428: Parent: child process 3788 exited with status 255 -- Restarting.
[Wed Mar 18 22:02:24.563544 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00455: Apache/2.4.41 (Win64) PHP/7.3.15 configured -- resuming normal operations
[Wed Mar 18 22:02:24.563544 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32
[Wed Mar 18 22:02:24.563544 2020] [core:notice] [pid 7692:tid 524] AH00094: Command line: 'c:\\Server\\bin\\Apache24\\bin\\httpd.exe -d C:/Server/bin/Apache24'
[Wed Mar 18 22:02:24.565544 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00418: Parent: Created child process 8876
[Wed Mar 18 22:02:25.099683 2020] [mpm_winnt:notice] [pid 8876:tid 456] AH00354: Child: Starting 64 worker threads.
[Wed Mar 18 22:02:32.988404 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00428: Parent: child process 8876 exited with status 255 -- Restarting.
[Wed Mar 18 22:02:33.203460 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00455: Apache/2.4.41 (Win64) PHP/7.3.15 configured -- resuming normal operations
[Wed Mar 18 22:02:33.203460 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32
[Wed Mar 18 22:02:33.204460 2020] [core:notice] [pid 7692:tid 524] AH00094: Command line: 'c:\\Server\\bin\\Apache24\\bin\\httpd.exe -d C:/Server/bin/Apache24'
[Wed Mar 18 22:02:33.206461 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00418: Parent: Created child process 4824
[Wed Mar 18 22:02:33.739435 2020] [mpm_winnt:notice] [pid 4824:tid 464] AH00354: Child: Starting 64 worker threads.
[Wed Mar 18 22:02:37.237891 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00428: Parent: child process 4824 exited with status 255 -- Restarting.
[Wed Mar 18 22:02:37.454947 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00455: Apache/2.4.41 (Win64) PHP/7.3.15 configured -- resuming normal operations
[Wed Mar 18 22:02:37.454947 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32
[Wed Mar 18 22:02:37.454947 2020] [core:notice] [pid 7692:tid 524] AH00094: Command line: 'c:\\Server\\bin\\Apache24\\bin\\httpd.exe -d C:/Server/bin/Apache24'
[Wed Mar 18 22:02:37.456947 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00418: Parent: Created child process 7796
[Wed Mar 18 22:02:37.990036 2020] [mpm_winnt:notice] [pid 7796:tid 480] AH00354: Child: Starting 64 worker threads.
[Wed Mar 18 22:02:40.637500 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Mar 18 22:02:42.639612 2020] [mpm_winnt:notice] [pid 7796:tid 480] AH00364: Child: All worker threads have exited.
[Wed Mar 18 22:02:42.662261 2020] [mpm_winnt:notice] [pid 7692:tid 524] AH00430: Parent: Child process 7796 exited successfully.
[Wed Mar 18 22:02:43.714877 2020] [mpm_winnt:notice] [pid 6920:tid 508] AH00455: Apache/2.4.41 (Win64) PHP/7.3.15 configured -- resuming normal operations
[Wed Mar 18 22:02:43.714877 2020] [mpm_winnt:notice] [pid 6920:tid 508] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32
[Wed Mar 18 22:02:43.714877 2020] [core:notice] [pid 6920:tid 508] AH00094: Command line: 'c:\\Server\\bin\\Apache24\\bin\\httpd.exe -d C:/Server/bin/Apache24'
[Wed Mar 18 22:02:43.716878 2020] [mpm_winnt:notice] [pid 6920:tid 508] AH00418: Parent: Created child process 8640
[Wed Mar 18 22:02:44.312031 2020] [mpm_winnt:notice] [pid 8640:tid 456] AH00354: Child: Starting 64 worker threads.
я пробовал открывать порт в брандмауре - не помогло, пробовал другие файлы отличные от php_xdebug-2.9.3-7.3-vc15-x86_64.dll - не срабатывал xdebug
Причем если в коде php явная ошибка - xdebug отрабатывает и я вижу сообщение xdebug
после прописывания в hosts 127.0.0.1 localhost дебагер проходит этапы с 1 по 8
<table class="table">
<tbody><tr><th>Level</th><th>Name</th><th>Example</th></tr>
<tr><td>1</td><td>Errors</td><td>Connection errors</td></tr>
<tr><td>3</td><td>Warnings</td><td>Connection warnings</td></tr>
<tr><td>5</td><td>Communication</td><td>Protocol messages</td></tr>
<tr><td><strong>7</strong></td><td>Information</td><td>Information while connecting</td></tr>
<tr><td>10</td><td>Debug</td><td>Breakpoint resolving information</td></tr>
</tbody></table>
включил логирование в режим отладке
[Thu Mar 19 11:54:08.419014 2020] [mpm_winnt:debug] [pid 6724:tid 440] mpm_winnt.c(1719): AH00453: Child process is running
[Thu Mar 19 11:54:08.419014 2020] [mpm_winnt:debug] [pid 6724:tid 440] mpm_winnt.c(344): AH00391: Child: Retrieved our scoreboard from the parent.
[Thu Mar 19 11:54:08.419014 2020] [mpm_winnt:debug] [pid 8952:tid 508] mpm_winnt.c(513): AH00408: Parent: Duplicating socket 400 (0.0.0.0:80) and sending it to child process 6724
[Thu Mar 19 11:54:08.419014 2020] [mpm_winnt:debug] [pid 6724:tid 440] mpm_winnt.c(466): AH00403: Child: Waiting for data for listening socket 0.0.0.0:80
[Thu Mar 19 11:54:08.419014 2020] [mpm_winnt:debug] [pid 8952:tid 508] mpm_winnt.c(513): AH00408: Parent: Duplicating socket 384 ([::]:80) and sending it to child process 6724
[Thu Mar 19 11:54:08.419014 2020] [mpm_winnt:debug] [pid 8952:tid 508] mpm_winnt.c(532): AH00411: Parent: Sent 2 listeners to child 6724
[Thu Mar 19 11:54:08.421015 2020] [mpm_winnt:debug] [pid 6724:tid 440] mpm_winnt.c(466): AH00403: Child: Waiting for data for listening socket [::]:80
[Thu Mar 19 11:54:08.421015 2020] [mpm_winnt:debug] [pid 6724:tid 440] mpm_winnt.c(491): AH00407: Child: retrieved 2 listeners from parent
[Thu Mar 19 11:54:08.421015 2020] [mpm_winnt:debug] [pid 6724:tid 440] child.c(969): AH00352: Child: Acquired the start mutex.
[Thu Mar 19 11:54:08.421015 2020] [mpm_winnt:notice] [pid 6724:tid 440] AH00354: Child: Starting 64 worker threads.
[Thu Mar 19 11:54:08.423015 2020] [mpm_winnt:debug] [pid 6724:tid 1004] child.c(430): AH00334: Child: Accept thread listening on 0.0.0.0:80 using AcceptFilter connect
[Thu Mar 19 11:54:08.423015 2020] [mpm_winnt:debug] [pid 6724:tid 1012] child.c(430): AH00334: Child: Accept thread listening on [::]:80 using AcceptFilter connect
[Thu Mar 19 11:54:09.420810 2020] [mpm_winnt:notice] [pid 8952:tid 508] AH00428: Parent: child process 6724 exited with status 255 -- Restarting.
[Thu Mar 19 11:54:09.636866 2020] [mpm_winnt:notice] [pid 8952:tid 508] AH00455: Apache/2.4.41 (Win64) PHP/7.3.15 configured -- resuming normal operations
[Thu Mar 19 11:54:09.636866 2020] [mpm_winnt:notice] [pid 8952:tid 508] AH00456: Apache Lounge VS16 Server built: Aug 9 2019 16:46:32
[Thu Mar 19 11:54:09.636866 2020] [core:notice] [pid 8952:tid 508] AH00094: Command line: 'c:\\Server\\bin\\Apache24\\bin\\httpd.exe -d C:/Server/bin/Apache24'
[Thu Mar 19 11:54:09.636866 2020] [core:debug] [pid 8952:tid 508] log.c(1568): AH02639: Using SO_REUSEPORT: no (0)
[Thu Mar 19 11:54:09.638866 2020] [mpm_winnt:notice] [pid 8952:tid 508] AH00418: Parent: Created child process 3048
[Thu Mar 19 11:54:09.638866 2020] [mpm_winnt:debug] [pid 8952:tid 508] mpm_winnt.c(430): AH00402: Parent: Sent the scoreboard to the child