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

Icon and status mismatch #113

Open
bilogic opened this issue Dec 25, 2022 · 1 comment
Open

Icon and status mismatch #113

bilogic opened this issue Dec 25, 2022 · 1 comment

Comments

@bilogic
Copy link

bilogic commented Dec 25, 2022

Bug

Frequently, my Xdebug helper icon is greyed, yet it is actually transmitting the idekey for every request

image

  1. My IDE's listener is normally disabled as I only run it when I need to debug something
  2. Because the icon greyed, I assume that the extension is not transmitting the idekey
  3. But that is not the case and transmitting the idekey causes PHP XDebug to connect to the IDE listener
  4. Because listener is not running, every HTTP request causes PHP XDebug to attempt connection and fail only after a timeout
  5. This makes navigating the website from Chrome very slow

Expected behavior

Xdebug helper icon should always reflect correctly if it is transmitting the idekey or not. If it is icon is colored/enabled, developer will notice and disable it to speed up loading.

@bilogic
Copy link
Author

bilogic commented Dec 25, 2022

I think the extension gets confused because it tracks the enabled status by domains.
I develop a few websites together as they share common code and switch between them using bookmarks.

It seems simpler for the developer to manage if the extension stays on/off regardless of domain.

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

1 participant