[development] Module proposal: Append ?XDEBUG_SESSION_START to allsite URLs
James Benstead
jim at codeloom.net
Tue Jan 11 13:43:48 UTC 2011
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.orgfor just this.
>
> I wrote a little bookmarklet for this purpose:
>
> javascript://%0Aif
> (document.URL.indexOf('XDEBUG_PROFILE')<1){var%20sep=document.URL.indexOf('?');sep%20=%20(sep<1)?'?':'&';window.location.href=document.URL+sep+'XDEBUG_PROFILE';}
>
> Seems better than forcing it for all pages.
>
> psynaptic
> http://drupalcontrib.org/
>
> 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
> > wrote:
>
>> Sounds like a patch for Devel module. Would be insane to create an entire
>> module for a checkbox and some URL query string additions.
>>
>> - sun
>>
>> ________________________________
>>
>> 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:
>>
>> *
>>
>> http://robshouse.net/article/xdebug-komodo-and-acquia-drupal-stack-installer
>>
>>
>> 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
>> this functionality?
>>
>> -- Jim
>>
>> --
>>
>> <http://www.codeloom.net/mail/codeloomemail.gif>
>>
>>
>> James Benstead
>> Development Director
>>
>> www.codeloom.net
>> +44 (0) 7792 332558
>>
>>
>>
>>
>
>
> --
>
> James Benstead
> Development Director
>
> www.codeloom.net
> +44 (0) 7792 332558
>
>
>
--
James Benstead
Development Director
www.codeloom.net
+44 (0) 7792 332558
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110111/8ccdaa44/attachment-0001.html
More information about the development
mailing list