Editor’s Note: Reposted from https://makandracards.com/jan0sch/12999-debugging-sugarcrm-using-krumo, authored by Jens Jahnke.
Using the krumo library debugging SugarCRM becomes a lot easier.
- Download the latest version.
- Unzip it into
krumo.iniand adjust the url setting for the css. It should be somewhat like
- Include krumo in your code and use it (see below).
To use krumo in your code you have to include
class.krumo.php like this
Then in your detail or edit view for example you could use code like this:
if (function_exists('krumo')) krumo($this->bean);