fix xdebug (taken from elixforms-web-services)

This commit is contained in:
2026-07-24 15:05:17 +02:00
committed by pierpaolo.mammi
parent 7a015f2b70
commit 2289f6e5be
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -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"]
+3 -2
View File
@@ -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
xdebug.log=/tmp/xdebug.log
xdebug.log_level=7
xdebug.idekey=VSCODE
+1
View File
@@ -54,6 +54,7 @@
"name": "WWW - Listen for Xdebug",
"type": "php",
"request": "launch",
"hostname": "0.0.0.0",
"port": 9023,
"pathMappings": {
"/app": "${workspaceFolder}/php"