diff --git a/.docker/php/Dockerfile b/.docker/php/Dockerfile index d28361a..8cf0dc6 100644 --- a/.docker/php/Dockerfile +++ b/.docker/php/Dockerfile @@ -3,6 +3,6 @@ FROM php:8.5.8-cli RUN pecl install xdebug && docker-php-ext-enable xdebug WORKDIR /app -EXPOSE 8000 9023 +EXPOSE 8000 CMD ["php", "-S", "0.0.0.0:8000"] diff --git a/.docker/php/xdebug.ini b/.docker/php/xdebug.ini index 0e48658..8b5954b 100644 --- a/.docker/php/xdebug.ini +++ b/.docker/php/xdebug.ini @@ -5,5 +5,6 @@ xdebug.mode=develop,debug xdebug.start_with_request=yes xdebug.client_host=host.docker.internal xdebug.client_port=9023 -xdebug.log_level=0 -xdebug.idekey=VSCODE \ No newline at end of file +xdebug.log=/tmp/xdebug.log +xdebug.log_level=7 +xdebug.idekey=VSCODE diff --git a/.vscode/launch.json b/.vscode/launch.json index 599fe49..caf7a68 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -54,6 +54,7 @@ "name": "WWW - Listen for Xdebug", "type": "php", "request": "launch", + "hostname": "0.0.0.0", "port": 9023, "pathMappings": { "/app": "${workspaceFolder}/php"