Drupal 6 devel module dd() function not writing to drupal_debug.txt file

Posted by Mike Munroe on Stack Overflow See other posts from Stack Overflow or by Mike Munroe
Published on 2009-09-17T17:21:50Z Indexed on 2010/06/01 8:23 UTC
Read the original article Hit count: 198

Filed under:
|

I am running a local development Drupal site on a Windows machine. I am trying to use the dd($data, $label = NULL) function from the devel module to help debug. Using this function, should write debug info to a drupal_debug.txt file in the /tmp folder on the machine where the Drupal site is hosted.

On my Windows machine, although I am using this function, the drupal_debug.txt file is not getting created anywhere, leading me to believe I am using the function incorrectly.

Here is a snippet of how I am using it,

<?php
$test = "this is my test";
dd($test, $label = NULL);

I am looking for an example of the correct syntax for the dd($data, $label = NULL) function. I have the Devel module enabled.

© Stack Overflow or respective owner

Related posts about drupal

Related posts about drupal-6