Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 782 Bytes

File metadata and controls

19 lines (11 loc) · 782 Bytes

Basic extension for xdebug v3 trigger setting

This extension adds a browser action button that will toggle the XDEBUG_TRIGGER cookie for the current domain.

In your xdebug (version 3 and up) settings in PHP, you can set xdebug.start_with_request = trigger to start a session when the cookie is present.

This extension sets the cookie value to 1, so it requires that you configure xdebug.trigger_value in PHP to be an empty value (which is its default).

At the moment, this extension will only set cookies for domains in the .test TLD.

Development

To build the extension, run:

$ npm run build

Firefox will not install any extensions that aren't signed. See Signing your extension for self-distribution at https://extensionworkshop.com for more info.