You are here

Debug Module

Drupal Modules - Thu, 18/10/2007 - 3:41pm

The "Debug" module gives developers an easy to use method for displaying PHP variables of any type in an easy to read format. Once this module is installed (and access control is set) developers can use the following anywhere in their code:

debug("label 1",$var1,"label 2",$var2,...)

By default, any variables passed to the debug function at any time will appear in a floating window that can be minimized or moved so that it doesn't interfere with the page.