You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current version (running phpunit as www-data and standard error path is set):
If xdebug client is not active/turn on, then the error message doesn't print to console as well as /var/log/php_error.log. Instead, xdebug warning like:
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
is printed to both console and /var/log/php_error.log
Comparing to:
If xdebug client is active, then functional test error message prints fine, break points also work well
If the test is kernel, then the error message prints fine no matter if the xdebug client is active or not.
Workaround for now:
Turn on xdebug client, set or unset breakpoints would work. Easy.
Turn off xdebug serve side in the container (';xdebug.mode=debug' in /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini), but this would debugging functional test from working.
The text was updated successfully, but these errors were encountered:
With the current version (running phpunit as
www-data
and standard error path is set):If xdebug client is not active/turn on, then the error message doesn't print to console as well as
/var/log/php_error.log
. Instead, xdebug warning like:is printed to both console and
/var/log/php_error.log
Comparing to:
Workaround for now:
/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
), but this would debugging functional test from working.The text was updated successfully, but these errors were encountered: