Posted by tomasbarej on February 3, 2012 at 9:23pm
This module implements power of Debugging tool from Nette Framework.
Installation
To get Nette Debbuger fully worked, download library from http://files.nette.org/NDebugger.zip and extract it into sites/all/libraries directory.
Usage
Type $stop(); in a place of code where you wan't to stop your script and display informations.
Example:
function node_type_get_base($node) {
$type = _node_extract_type($node);
$types = _node_types_build()->types;
stop();
return isset($types[$type]) && isset($types[$type]->base) ? $types[$type]->base : FALSE;
}