New Xdebug browser extensions
Years ago I wrote about a Firefox extension that allows you to start an Xdebug debugging session by clicking on an icon in Firefox' status bar. For some unexplained reason, this extension is no longer available through Firefox' addon-site. Although I have a copy at http://xdebug.org/files/xdebug_helper-0.3.1-fx.xpi for archival purposes, there are now a few other browser extensions that do the same thing.
easy Xdebug
easy Xdebug is an extension that serves as a replacement for the now unavailable Xdebug helper extension. It's written by Brecht Vanhaesebrouck of eLime. The extension was originally tested with Netbeans but it also seems to work fine with Komodo.
Xdebug enabler
Xdebug enabler is an extension for Google's Chrome browser. It "allows you to enable and disable triggering Xdebug from with in Chrome. Useful if you are a web developer using an IDE that supports Xdebug like Eclipse with PDT." It's written by 'remailednet' and available through the Google Chrome Extensions website.
JavaScript 'enabler'
I also ran across a blog post by 'Caleb G' from HigherVisibility. Instead of making an extension for a specific browser, he outlines two JavaScript bookmarklets that allow you to start and stop an Xdebug debugging session.
Update: The "Xdebug enabler" Chrome Extension seems to have some issues. There is now also an alternative Chrome Extension called Xdebug helper that integrates quite a bit better. You can find it at its Google Chrome Extension page.
Comments
I also put together a bookmarklet some years ago which works by setting the cookie instead of rewriting the URL.
http://pollinimini.net/blog/xdebug-bookmarklet
/imv
easy Xdebug is no alternative to xdebug-helper. I used the MR Tech Toolkit extension to make xdebug-helper compatible with Firefox 3.6. Works.
@Hannes: And why is it no alternative?
Cool!
xdebug-helper just enables the debugger, but does not send a request. easy xdebug resends the current request when debugging is activated.
@Hannes: I just tested it and for me it is not sending a new request. There was a new version released (1.4) yesterday though.
Yes, you are right, easy xdebug version 1.4 is similar to xdebug helper:
Changelog 1.4:
-
Added support for seamonkey (not tested)
-
Made the debug button a toggle button
-
Added a toggle button for profiling
-
Clicking the buttons no longer resubmits the current page
No need for xdebug helper.
Life Line
@Edent With your ActivityPub implementation, have you figured out how to allow quote posts for your bot posts yet?
๐ท Brown Cap in the Grass
๐ฉ Herikhuizerweg, Rheden, Nederland
๐ท Stalkers Lane
๐ฉ Graywood Lane, Wealden, United Kingdom
After my PHP 8.5 in Leeds last night, it's now time to head to Rotterdam to give the same talk there tonight!
It's cold out here, but atleast the snow is now gone.
๐ท Avenue Gardens
๐ฉ Princess Road, London Borough of Brent, United Kingdom
๐ท Leafy Entrance
๐ฉ East Heath Road, London Borough of Camden, United Kingdom
๐ท From Green to Yellow.
๐ฉ St John's Wood Road, City of Westminster, United Kingdom
The Secret Maps exhibition at the British Library is well worth a visit!
We went last Sunday and it still runs to January.
๐ท Mirror
๐ฉ The Terrace, London Borough of Richmond upon Thames, United Kingdom
๐ท Green, Red, Orange, and Yellow
๐ฉ Mortlake High Street, London Borough of Richmond upon Thames, United Kingdom
๐ท Leaf
๐ฉ Lonsdale Road, London Borough of Richmond upon Thames, United Kingdom
I walked 10.6km in 1h47m32s
Merged pull request #1048
Fixed issue #2386: Crashes when running context_get in an exception tโฆ
It's PHP 8.5 release week !
I'm giving two talks on what's new in it, first on Wednesday evening in Leeds: https://www.meetup.com/leedsphp/events/311677834/
And then on Thursday evening in Rotterdam: https://eventy.io/events/q8lmw0v4Will I see you there?
@robinince Loving the new series of the Infinite Monkey Cage so far! #bbc
I walked 1.7km in 18m51s
Updated a clothes shop and a restaurant; Deleted a dentist; Confirmed an estate_agent shop, a dentist, and 2 other objects
I walked 3.4km in 39m19s












Shortlink
This article has a short URL available: https://drck.me/n-xdebug-be-7rt