Fragmented Thought

Drupal Development Settings.php Additions

By

Published:

Lance Gliser

Heads up! This content is more than six months old. Take some time to verify everything still works as expected.

Here's the general set of development variables I use for Drupal 7, the variable names are the same in D6 (mostly), though the format for insertion is a bit different:

/** * Development Settings */ $conf['development'] = TRUE; // Allows you to wrap development code in if statements // if( variable_get('development', FALSE){ ... } $conf['error_level'] = 2; // Display all messages. In drupal 6, use 1 for 'Report errors to screen' $conf['preprocess_css'] = FALSE; // Disable css aggregation $conf['preprocess_js'] = FALSE; // Disable js aggregation $conf['cache'] = 0; // Disable page cache $conf['dev_timer'] = TRUE; // Turns on the devel page timer $conf['dev_mem'] = TRUE; // Turns on the devel memory used timer $conf['cdn_status'] = 0;