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

Xdebug not stopping at the breakpoints ( Linux ) #1222

Open
postadelmaga opened this issue Sep 19, 2024 · 1 comment
Open

Xdebug not stopping at the breakpoints ( Linux ) #1222

postadelmaga opened this issue Sep 19, 2024 · 1 comment

Comments

@postadelmaga
Copy link

postadelmaga commented Sep 19, 2024

I followed all the instruction on the video tutorial:

  1. Enabled xdebug in the container installation bin/xdebug enable
  2. Installed the Xdebug helper ( and set the key to PHPSTORM)
  3. Configured Phpstorm, added the debug configuration and started it ( Waiting for incoming connection with ide key 'PHPSTORM' is correctly shown in the ide)

The CLI script debug works fine but the index.php doesn't stop on any breakpoints ( I used the $bootstrap= ... line as showed in the instruction )

I tried to add manually the parameter to the url ?XDEBUG_SESSION=PHPSTORM but nothing :(

What else can I try ?

@Hawksama
Copy link

Hawksama commented Sep 20, 2024

Have you created the server and configured the absolute of the src folder to point to "/var/www/html/"?

If you're using Chrome, you can install Xdebug Chrome extension and enable the debugging though the extension.

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