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
307 stars 97 forks source link

Feature Request : Turn XDebug On or Off in php.ini #67

Closed sadortun closed 7 years ago

sadortun commented 8 years ago

Hi!

Since XDebug have a huge impact on page performance, it would be nice to have a callback to turn it on or off by changing the php.ini file when enabling or disabling it in the browser.

I am not quite sure how it can be done, but if you give me some guidelines, i would be very happy to submit a PR

Thanks!

neochief commented 8 years ago

I don't think it's possible, since browser extension does not have access to file system.

sadortun commented 8 years ago

Is there a way for an external tool to query the extension status ?

kirugan commented 8 years ago

@sadortun well it's kinda possible, but it`ll be awkward solution.

mac-cain13 commented 7 years ago

As @neochief states, this will be very hard to build.