Sun, Richard: thanks - I'll use the bookmarklet :) On Tue, Jan 11, 2011 at 1:36 PM, Richard Burford < lists@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@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@drupal.org [mailto:development-bounces@drupal.org] On Behalf Of James Benstead Sent: Tuesday, January 11, 2011 2:03 PM To: development@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