Debug php code with Drupal

<?php
function debug_print($var) {
  drupal_set_message('<pre>'. print_r($var, TRUE) .'</pre>');
}
?>
Processing your request, Please wait....

No Responses to “Debug php code with Drupal”

Comments (Your Comments)

Leave a Reply

You must be logged in to post a comment.