The module provides a central opportunity for sending debug information (most cases php-variables) to the system and directly output it or store it for delayed output.
This can be very helpful for example when trying to debug HTTP requests or AJAX implementations.
With different submodules you can select different types of storage (watchbug_variables, watchbug_wd) and different output formats (watchbug_devel, watchbug_print, watchbug_firebug).
There can also be applied pre and post processors for storage and loading (watchbug_stdobject)
To use watchbug the user has to call watchbug($variable,$key = NULL).
Then the different implementations allow the user to inspect the passed variable on admin/watchbug (e.g. in Krumo Style provided by devel.module).
There is at least one active storage module and one display module needed, to view data on admin/watchbug.
To clear the current watchbug variable watchbug_clear() can be called.
Aliases for the two functions are wb() and wbc().
When activated AdminMenu the display page admin/watchbug can easily be accessed via toplevel link in the bar.
WatchBug was developed from the old firep_hold module.
Unpack in your modules folder (usually '/sites/all/modules/')
Enable under Administer > Site Building > Modules
· Drupal 6.x