Nothing really new since there is already a firefox extension which does just the same but I also wanted support other browsers.

So this bookmarklet toggles the cookie Xdebug uses to flag if it should debug the running script or not.

Toggle Xdebug

Drag it to your bookmarks (or favourites or whatever is called in your browser) toolbar so it’s easy to access. Assign it a keyboard shortcut if your browser has that function.

By default it’ll prompt for the idekey to be used by Xdebug, it’s a good idea to modify the idekey variable at the start of the bookmarklet’s source with your idekey or with ‘default’ if you’re not using a DBGp proxy.


Leave a comment

Help

Note to spammers: You are not welcome here, we are committed to fight spam and we will combat it actively. If you think that posting some links here could improve your PR, think twice before doing it because we won't tolerate any abuse


You can use Textile markup to format the comment.

  • _emphasis_
  • *strong*
  • ??citation??
  • -deleted text-
  • +inserted text+
  • ^superscript^
  • @ code @
  • "google":http://google.com
  • AIA(An Invented Acronym)
Either your real name or your nickname
We hate spammers, rest assure that we won't publish your email address
If you happen to have a website you can put it here so others can know more about you
Uncheck if you do not want your browser to remember the current data