afragen
February 20, 2021, 1:49am
1
Local now has the ability to update lighting-services within the app. Now we need to use it.
PHP 8 includes xDebug 3.x. The lighting-services/php-8.x/conf/php.ini.hbs
needs to be updated to include the following lines instead of what is currently shipped.
xdebug.mode=debug
xdebug.client_port=9003
xdebug.start_with_request=trigger
xdebug.discover_client_host=yes
This was reported in Install PHP 8 - #8 by afragen - Completed Feature Requests - Local Community
It would solve issues as seen in
Issue Summary Greetings. Iβm getting the following error fooding my logs when I upgrade my sites or add new ones in Local to PHP 8.0.0 (custom environment, nginx): Xdebug: [Step Debug] Could not connect to debugging client. Tried: 127.0.0.1:9000...
Reading time: 1 mins π
Likes: 1 β€
Hi there, Iβm having similar issues, also on Win10. Local 5.9.8+5191 Pageload with 7.4.1: 200ms Pageload with 8.0.0: 2500ms I get a couple of Xdebug errors in the debug.log (see below) Itβs talking about timeouts, could it be the delay we...
Issue Summary When swapping from PHP 7.4.1 to PHP 8.0 in Local, performance slows significantly and the log is flooded with these: [17-Feb-2021 20:00:00 UTC] Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried:...
Reading time: 1 mins π
Likes: 2 β€
It would also be a great thing to include xDebug 3 in all the other PHP versions, but it would require similar updates to the php.ini.hbs
files.
Thanks.
system
Closed
May 21, 2021, 1:49am
2
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.