Skip to content

Commit 0d804cd

Browse files
committed
enable remote_connect_back instead of defining remote host in xdebug
and modify the default var display
1 parent 3fcebd4 commit 0d804cd

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

php-fpm/xdebug.ini

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)
22

3+
; xdebug.remote_host=dockerhost
4+
xdebug.remote_connect_back=1
5+
xdebug.remote_port=9000
6+
xdebug.idekey=PHPSTORM
7+
38
xdebug.remote_autostart=0
49
xdebug.remote_enable=0
5-
xdebug.remote_connect_back=0
610
xdebug.cli_color=0
711
xdebug.profiler_enable=0
12+
xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp/profiling"
13+
814
xdebug.remote_handler=dbgp
915
xdebug.remote_mode=req
1016

11-
xdebug.remote_port=9000
12-
xdebug.remote_host=dockerhost
13-
xdebug.idekey=PHPSTORM
17+
xdebug.var_display_max_children=-1
18+
xdebug.var_display_max_data=-1
19+
xdebug.var_display_max_depth=-1
20+

workspace/xdebug.ini

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)
22

3+
; xdebug.remote_host=dockerhost
4+
xdebug.remote_connect_back=1
5+
xdebug.remote_port=9000
6+
xdebug.idekey=PHPSTORM
7+
38
xdebug.remote_autostart=0
49
xdebug.remote_enable=0
5-
xdebug.remote_connect_back=0
610
xdebug.cli_color=0
711
xdebug.profiler_enable=0
12+
xdebug.profiler_output_dir="~/xdebug/phpstorm/tmp/profiling"
13+
814
xdebug.remote_handler=dbgp
915
xdebug.remote_mode=req
1016

11-
xdebug.remote_port=9000
12-
xdebug.remote_host=dockerhost
13-
xdebug.idekey=PHPSTORM
17+
xdebug.var_display_max_children=-1
18+
xdebug.var_display_max_data=-1
19+
xdebug.var_display_max_depth=-1
20+

0 commit comments

Comments
 (0)