Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ernestopheles opened this issue Feb 20, 2022 · 4 comments · Fixed by john-ea/devilbox#1 or devilbox-community/devilbox#1 · May be fixed by #958
Open

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

Ernestopheles opened this issue Feb 20, 2022 · 4 comments · Fixed by john-ea/devilbox#1 or devilbox-community/devilbox#1 · May be fixed by #958

Comments

@Ernestopheles
Copy link
Contributor

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.

@hielh
Copy link

hielh commented May 11, 2022

@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

@ldarikl
Copy link

ldarikl commented May 19, 2022

Hi @Ernestopheles

Were you able to run xdebug?

@jamisonbryant
Copy link

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?

@cytopia
Copy link
Owner

cytopia commented Jan 5, 2023

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

Repository owner locked and limited conversation to collaborators Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.