mac-cain13 / xdebug-helper-for-chrome

Easily activate PHP debugging, profiling and tracing with this Xdebug Chrome extension
https://chrome.google.com/webstore/detail/eadndfjplgieldjbigjakmdgkmoaaaoc
310 stars 97 forks source link

Better UX for enable / disable #81

Open silverqx opened 7 years ago

silverqx commented 7 years ago

I want to ask or have a suggestion, if would be possible to enable / disable debug by one click on icon and to open popup on double click or on middle click.

I'm asking this, because i'm working with this ext everyday and enabling and disabling xdebug milion times per day, so UX would be really better and faster. 🚀

May be some checkbox in settings like Show popup on middle-click would enable this feature, default behavior would be like it's now.

mac-cain13 commented 7 years ago

Interesting idea, but I'm not sure this is possible with the Chrome extension APIs. If it is it wouldn't be too hard to create this. I dont have the time to research this right now, but a PR is welcome!

silverqx commented 7 years ago

I check it and let know.

silverqx commented 7 years ago

It's not possible.

silverqx commented 7 years ago

But would be possible to add Don't open popup, just enable / disable xdebug to options, so when user clicks on xdebug helper icon, popup will not be opened, just xdebug cookie will enabled / disabled, what do you think, can I create PR?

silverqx commented 7 years ago

link to PR #82 🔥