Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 2.85 KB

Readme.md

File metadata and controls

57 lines (42 loc) · 2.85 KB

XDebug Helper for Firefox

Debugging, profiling and tracing PHP code with Xdebug is very powerful, but enabling Xdebug with cookies or adding POST/GET variables is way too hard. This extension will help you to enable/disable debugging, profiling and tracing of your PHP-code easily.

It is based on the Chrome extension https://github.com/mac-cain13/xdebug-helper-for-chrome/ with the edits to remove unsupported webextensions API calls.

Hotkeys

Ctrl+Shift+X (Cmd+Shift+X on Mac) opens the popup. Alt+Shift+X toggles the debugging state.

How to install this extension?

Stable version: Go to the Firefox Addon and click "Add to Firefox".

Development version: Download the source from GitHub and load the extension into Firefox yourself!

Pitfalls

Xdebug Icon not showing up in Address bar.

You might need to either allow the extension to run in private mode or enable your browser history. Disabling the browser history internally turns on the private-mode and disables all plugins that aren't allowed for private mode.

@see this comment and that comment

How do I contribute?

A: Submit issues and ideas

B: Submit a pull request

  1. Fork this repo and create a branch
  2. Commit and push your changes to your branch
  3. When you're happy send us a pull request!

Pro-tip: Make sure to build upon the latest version of the code and keep pull request as small as possible. This makes your pull request easy to merge.

License

The code of this project is licensed under the MIT license so you can use it in nearly every project you want to, commercial and non-commercial.

Special thanks