-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[BUG] Xdebug does not work #190
Comments
I have same problem with php 7.4, i solution was add lines in Install xdebugRUN pecl install xdebug-2.8.0 in dockerfile from bin/php74 in php.ini. maybe change sintax xdebug for xdebug 3 |
Hi, |
on php version 7.* the problem still persist on php 8 seems to work properly |
I also have a problem with Xdebug. |
Workaround - I jumped to the old commit 52defc2. With this version XDebug works. |
The main issue with xdebug is in docker-compose file:
host.docker.internal - it is docker gateway IP, but VSCODE server listens 9003 port on webserver - not on gateway. To fix it you should: And rebuild stack: |
Describe the bug
Xdebug does not work when trying to debug the php application.
which Branch / PHP Version are you using ?
php8
Steps to reproduce
Steps to reproduce the behavior:
docker-composer up -d
Expected behavior
If you set a breakpoint, the debugger should stop at execution.
Desktop (please complete the following information):
Additional context
The problem will still persist even if the port 9003 is explicitly exposed through docker-compose.yml
The text was updated successfully, but these errors were encountered: