devilbox icon indicating copy to clipboard operation
devilbox copied to clipboard

file devilbox-php.ini-xdebug not suitable for xdebug 3

Open Ernestopheles opened this issue 3 years ago • 4 comments

As far as i know, the configuration for xdebug have changed since version 3.x. In the sample file i find the old configurations for xdebug 2.

Ernestopheles avatar Feb 20 '22 16:02 Ernestopheles

@Ernestopheles As i know you should use something like this in your file cfg/php-ini-7.4/xdebug.ini

;Xdebug 3.X
xdebug.mode=debug
xdebug.client_port=9003
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.start_with_request=yes
xdebug.idekey=PHPSTORM
xdebug.show_error_trace = 1
xdebug.max_nesting_level=250
xdebug.var_display_max_depth=10
xdebug.connect_timeout_ms=300

xdebug.client_host=172.16.238.100
xdebug.discover_client_host=1

After my last upgrade it doesn't work anymore, I'm not sure if it depond on some upgrade

hielh avatar May 11 '22 15:05 hielh

Hi @Ernestopheles

Were you able to run xdebug?

ldarikl avatar May 19 '22 12:05 ldarikl

This is still a problem as of 10/2022. I had to use a very different setup than what's described in the docs in order to get my debugger working on macOS with Xdebug 3.

The documentation pages still reference PHP 5.6 and also possibly other "hacks" that are no longer required. A lot of helpful information also in #769. Can these pages be updated as part of this fix?

jamisonbryant avatar Oct 07 '22 20:10 jamisonbryant

Let's continue in the aggregated thread here: #946

cytopia avatar Jan 05 '23 10:01 cytopia