From 0d804cd29a96b808544c78528a3da6729e595632 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Sun, 17 Dec 2017 21:31:05 +0100 Subject: [PATCH] enable remote_connect_back instead of defining remote host in xdebug and modify the default var display --- php-fpm/xdebug.ini | 15 +++++++++++---- workspace/xdebug.ini | 15 +++++++++++---- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/php-fpm/xdebug.ini b/php-fpm/xdebug.ini index dfe2f109..c3f32ece 100644 --- a/php-fpm/xdebug.ini +++ b/php-fpm/xdebug.ini @@ -1,13 +1,20 @@ ; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini) +; xdebug.remote_host=dockerhost +xdebug.remote_connect_back=1 +xdebug.remote_port=9000 +xdebug.idekey=PHPSTORM + xdebug.remote_autostart=0 xdebug.remote_enable=0 -xdebug.remote_connect_back=0 xdebug.cli_color=0 xdebug.profiler_enable=0 +xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp/profiling" + xdebug.remote_handler=dbgp xdebug.remote_mode=req -xdebug.remote_port=9000 -xdebug.remote_host=dockerhost -xdebug.idekey=PHPSTORM +xdebug.var_display_max_children=-1 +xdebug.var_display_max_data=-1 +xdebug.var_display_max_depth=-1 + diff --git a/workspace/xdebug.ini b/workspace/xdebug.ini index dfe2f109..c3f32ece 100644 --- a/workspace/xdebug.ini +++ b/workspace/xdebug.ini @@ -1,13 +1,20 @@ ; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini) +; xdebug.remote_host=dockerhost +xdebug.remote_connect_back=1 +xdebug.remote_port=9000 +xdebug.idekey=PHPSTORM + xdebug.remote_autostart=0 xdebug.remote_enable=0 -xdebug.remote_connect_back=0 xdebug.cli_color=0 xdebug.profiler_enable=0 +xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp/profiling" + xdebug.remote_handler=dbgp xdebug.remote_mode=req -xdebug.remote_port=9000 -xdebug.remote_host=dockerhost -xdebug.idekey=PHPSTORM +xdebug.var_display_max_children=-1 +xdebug.var_display_max_data=-1 +xdebug.var_display_max_depth=-1 +