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

Unable to use xdebug on php 8.1 #335

Open
mijorus opened this issue Aug 9, 2024 · 1 comment
Open

Unable to use xdebug on php 8.1 #335

mijorus opened this issue Aug 9, 2024 · 1 comment

Comments

@mijorus
Copy link

mijorus commented Aug 9, 2024

Hi,
I want to use xdebug to debug my code.
I've already ran the configuration script, and I can see xdebug from phpinfo.

However, when I try to open a debugging session from vscode, it does not work.
Do I have to expose ports or something?

I tried multiple things without success

Thank you

@juliusknorr
Copy link
Owner

The IDE will have a port listening where xdebug will try to connect to.

xdebug will have a log in the container that is likely helpful to further debug this:

docker-compose exec nextcloud cat /var/log/xdebug.log

https://xdebug.org/docs/all_settings#log_level

How are you trying to trigger the request with debugging? By default we require a trigger to start debugging

I might be able to give a few more hints if you share how you configured vscode.

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

No branches or pull requests

2 participants