Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
ddf80576
Commit
ddf80576
authored
Feb 09, 2022
by
Antony Le Courtes
Browse files
Correction pour faire fonctionner xdebug en web et en cli
parent
e80e9677
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
ddf80576
...
...
@@ -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
docker/dev/php.conf
View file @
ddf80576
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment