Commit ddf80576 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction pour faire fonctionner xdebug en web et en cli

parent e80e9677
......@@ -11,6 +11,8 @@ services:
environment:
APPLICATION_ENV: dev
APPLICATION_HOSTNAME: ose-dev.pc-local
XDEBUG_CONFIG: "remote_host=172.21.0.15"
PHP_IDE_CONFIG: "serverName=ose-dev.pc-local"
build:
context: .
......@@ -19,40 +21,22 @@ services:
PHP_VERSION: 8.0
APPLICATION_ENV: dev
volumes:
- .:/app
working_dir: /app
networks:
devnet:
ipv4_address: 172.21.0.10
ose-test:
container_name: ose-test
environment:
APPLICATION_HOSTNAME: ose-test.pc-local
APPLICATION_ENV: test
build:
context: .
dockerfile: Dockerfile
args:
PHP_VERSION: 8.0
APPLICATION_ENV: test
volumes:
- .:/app
working_dir: /app
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
devnet:
ipv4_address: 172.21.0.15
networks:
devnet:
external:
name: laures
name: laures
......@@ -23,19 +23,13 @@ session.upload_progress.cleanup = On
opcache.enable = 0
xdebug.default_enable = 1
xdebug.mode = debug, develop
xdebug.start_with_request = 1
xdebug.cli_color = 1
xdebug.profiler_output_name = "xdebug.out.%p"
xdebug.remote_connect_back = 1
xdebug.client_host = 172.21.0.10
xdebug.remote_autostart = 1
xdebug.client_host=host.docker.internal
xdebug.start_with_request = yes
xdebug.discover_client_host = 1
xdebug.show_local_vars = 1
xdebug.var_display_max_children = 512
xdebug.var_display_max_data = -1
xdebug.max_nesting_level = 128
# Attention: trop diminuer 'max_nesting_level' peut causer une erreur 'Maximum function nesting level of x reached'
#xdebug.collect_params = 4
\ No newline at end of file
xdebug.var_display_max_data = -1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment