Skip to content

A webextension that sets the xdebug v3 XDEBUG_TRIGGER cookie for the current page.

Notifications You must be signed in to change notification settings

jeffam/xdebug_trigger_extension

Repository files navigation

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.

About

A webextension that sets the xdebug v3 XDEBUG_TRIGGER cookie for the current page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published