devel debugging tools shortcuts print_r var_dump show variables

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
spyderboy's picture

Shortcuts to var_dump and the like

Inspired by Dave's presentation last night, I stumbled upon a blog posting listing a few development shortcut functions:

* dpr – Shortcut for dprint_r.
* dvr – Similar to dpr, but uses var_dump instead of print_r.
* dpm – Similar to dpr but print_r's a variable as a message using drupal_set_message.
* dvm – Similar to dpm but uses var_dump instead of print_r.

The original posting can be found here: http://www.thingy-ma-jig.co.uk/blog/02-10-2007/hugely-useful-hugely-undo...

Read more
Subscribe with RSS Syndicate content