fix xdebug (taken from elixforms-web-services)
This commit is contained in:
@@ -3,6 +3,6 @@ FROM php:8.5.8-cli
|
|||||||
RUN pecl install xdebug && docker-php-ext-enable xdebug
|
RUN pecl install xdebug && docker-php-ext-enable xdebug
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 8000 9023
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["php", "-S", "0.0.0.0:8000"]
|
CMD ["php", "-S", "0.0.0.0:8000"]
|
||||||
|
|||||||
@@ -5,5 +5,6 @@ xdebug.mode=develop,debug
|
|||||||
xdebug.start_with_request=yes
|
xdebug.start_with_request=yes
|
||||||
xdebug.client_host=host.docker.internal
|
xdebug.client_host=host.docker.internal
|
||||||
xdebug.client_port=9023
|
xdebug.client_port=9023
|
||||||
xdebug.log_level=0
|
xdebug.log=/tmp/xdebug.log
|
||||||
xdebug.idekey=VSCODE
|
xdebug.log_level=7
|
||||||
|
xdebug.idekey=VSCODE
|
||||||
|
|||||||
Vendored
+1
@@ -54,6 +54,7 @@
|
|||||||
"name": "WWW - Listen for Xdebug",
|
"name": "WWW - Listen for Xdebug",
|
||||||
"type": "php",
|
"type": "php",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
|
"hostname": "0.0.0.0",
|
||||||
"port": 9023,
|
"port": 9023,
|
||||||
"pathMappings": {
|
"pathMappings": {
|
||||||
"/app": "${workspaceFolder}/php"
|
"/app": "${workspaceFolder}/php"
|
||||||
|
|||||||
Reference in New Issue
Block a user