[development] Module proposal: Append ?XDEBUG_SESSION_START to allsite URLs
salmons at sohodojo.com
Tue Jan 11 16:45:13 UTC 2011
While the mentioned bookmarketlets likely work, there are many widely
available browser extensions for Xdebug, ZendDebugger, and the one I use,
DBG that mitigate any need for such support in your sites codebase.
With an extension installed you simply click a button or other accessible
means in-browser to append the session start/end strings. Most of these
extensions include many features beyond session-tagging such as profiling
on/off, and this-page/next-page/next-POST session start choices, etc.
Here are a handful of such useful freebies (including the one I did for DBG
* FF easy Xdebug: https://addons.mozilla.org/en-US/firefox/addon/58688/
* FF vimxdebug: https://addons.mozilla.org/en-US/firefox/addon/181743/
* FF DBGbar: https://addons.mozilla.org/en-US/firefox/addon/3227/
* Chrome/Chromium Xdebug helper:
* Chrome/Chromium DBG helper:
I forked Xdebug helper to scratch my own itch for a DBG version. Zend
provides similar extensions for their debugger for PDT/ZS. And any browser
extensions not mentioned are mostly covered by the IDE developer/publisher
providing such accessories directly such as for IE, etc.
I can't remember and a quick search did not turn up what I used for Xdebug
session handling under IE but I seem to recall that it was a
bookmarklet-type solution rather than a packaged add-on.
I am sure you will find the bookmarklet or easy Xdebug, Xdebug helper, or
other extension all that you need.
From: development-bounces at drupal.org [mailto:development-bounces at drupal.org]
On Behalf Of James Benstead
Sent: Tuesday, January 11, 2011 7:44 AM
To: development at drupal.org
Subject: Re: [development] Module proposal: Append ?XDEBUG_SESSION_START to
Sun, Richard: thanks - I'll use the bookmarklet :)
On Tue, Jan 11, 2011 at 1:36 PM, Richard Burford
<lists at freestylesystems.co.uk> wrote:
Seriously, listen to sun. Don't create a whole new module on drupal.org for
I wrote a little bookmarklet for this purpose:
Seems better than forcing it for all pages.
On 11 Jan 2011, at 13:29, James Benstead wrote:
I agree, in the longer term, but as it stands I'm going to be writing the
module for my own use anyway - I'd be more than happy to remove the module
from d.o as and when the functionality was added to Devel.
On Tue, Jan 11, 2011 at 1:27 PM, Daniel F. Kudwien <news at unleashedmind.com>
Sounds like a patch for Devel module. Would be insane to create an entire
module for a checkbox and some URL query string additions.
From: development-bounces at drupal.org
[mailto:development-bounces at drupal.org] On Behalf Of James Benstead
Sent: Tuesday, January 11, 2011 2:03 PM
To: development at drupal.org
Subject: [development] Module proposal: Append ?XDEBUG_SESSION_START
to allsite URLs
It's possible to initiate remote XDEBUG debugging sessions by
appending ?XDEBUG_SESSION_START to a Drupal URL, as per:
Does anyone have any objections to a module that does this
automatically, and provides a block with a tick box that would effectively
turn debugging mode on or off? Or is there a module that already provides
More information about the development