Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Upgrading from Xdebug 2 to 3 #231

Closed
AndriyKarpov opened this issue Dec 10, 2020 · 3 comments · Fixed by #239
Closed

Upgrading from Xdebug 2 to 3 #231

AndriyKarpov opened this issue Dec 10, 2020 · 3 comments · Fixed by #239

Comments

@AndriyKarpov
Copy link

Hi.
It would be nice to update Xdebug configurations to match with the 3rd version. If I not mistaken they should look like this:

Old

xdebug:
    xdebug.remote_enable: 'On'
    xdebug.remote_connect_back: 'On'
    xdebug.remote_log: /var/log/draft/php_xdebug_remote.log

New

xdebug:
    xdebug.mode: debug
    xdebug.discover_client_host: true
    xdebug.log: /var/log/draft/php_xdebug.log
@T2L
Copy link
Collaborator

T2L commented Dec 10, 2020

Have a question: how have you ended up with xdebug 3?

@AndriyKarpov
Copy link
Author

Had to setup new project recently and since Xdebug 3 was released couple weeks ago it may be picked up by the draft as the most recent version. But I may be wrong about that.

T2L added a commit that referenced this issue Feb 3, 2021
@T2L T2L mentioned this issue Feb 3, 2021
@T2L T2L closed this as completed in #239 Feb 3, 2021
@T2L
Copy link
Collaborator

T2L commented Feb 3, 2021

Please notice that Xdebug 3 uses port 9003 while Xdebug 2 uses port 9000

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants