[drupal-devel] [feature] Trigger debug mode on-the-fly

Steven drupal-devel at drupal.org
Sat May 7 04:10:00 UTC 2005


Issue status update for http://drupal.org/node/21379

 Project:      Drupal
 Version:      cvs
 Component:    other
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  mathias
 Updated by:   Steven
 Status:       patch

Perhaps we should move the trinary operator and variable_get into a
small function: it would be cleaner in the code.




Steven



Previous comments:
------------------------------------------------------------------------

April 26, 2005 - 22:05 : mathias

Attachment: http://drupal.org/files/issues/devel_GET_params_core.patch (2.38 KB)

This patch allows admins who are using devel.module to optionally toggle
the page timer, query logger and page redirection for each request using
GET parameters rather than navigating to admin/settings/devel and
flipping the global settings back and forth.  I added this since I
usually don't need to print out this information for every page. Now I
just use:


http://example.com/index.php?q=node&dev_query=1


for the request I'm interested in. Two other params can also be
toggled: dev_timer and dev_redirect.




------------------------------------------------------------------------

April 27, 2005 - 00:15 : mathias

Attachment: http://drupal.org/files/issues/devel_GET_params_module.patch (2.82 KB)

And the patch for devel.module







More information about the drupal-devel mailing list