Drupal debug script

Public

Debug script from project root folder, more http://oniksfly.blogspot.ru/2013/04/drupal-debug-script.html

Get raw version
php
  1. <?php
  2. define('DRUPAL_ROOT', getcwd());
  3. require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  4.  
  5. // Usefull code
  6. phpinfo();

Comments

naren's picture

What kind of debug is this ? can you elaborate?

Anonymous's picture

He wants to say then if xDebug doesnt work, you could create this file (with full drupal bootstrap) to check some code...