![]() Tried: localhost:9003 (fallback through xdebug.client_host/xdebug.client_port) :-( ERR: Could not connect to debugging client. WARN: Creating socket for 'localhost:9003', connect: Address not available. WARN: Creating socket for 'localhost:9003', poll success, but error: Operation in progress (29). WARN: Could not discover client host through HTTP headers, connecting to configured address/port: localhost:9003. INFO: Checking header 'HTTP_X_FORWARDED_FOR'. In the xdebug.log file I see this: INFO: Checking remote connect back address. & echo "xdebug.discover_client_host=1" > /usr/local/etc/php/conf.d/xdebug.ini ![]() & echo "xdebug.mode=debug" > /usr/local/etc/php/conf.d/xdebug.ini \ RUN echo "xdebug.start_with_request=yes" > /usr/local/etc/php/conf.d/xdebug.ini \ build-deps icu-dev libxml2-dev sqlite-dev curl-dev RUN apk add -no-cache icu sqlite git openssh zip RUN NUMPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) \ RUN apk add -no-cache libpng libpng-dev & docker-php-ext-install gd & apk del libpng-dev RUN apk add -no-cache -repository -allow-untrusted gnu-libiconvĮNV LD_PRELOAD /usr/lib/preloadable_libiconv.so php Here is my dockerfile: FROM php:8.1-fpm-alpine ![]() In my Docker container xdebug say: Could not connect to debugging client.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |