Debugging SugarCRM using Krumo

Using the krumo library debugging sugarcrm becomes a lot easier.

  1. Download the latest version.
  2. Unzip it into custom/include/krumo.
  3. Edit krumo.ini and adjust the url setting for the css. It should be somewhat like http://YOUR_HOST/SUGAR_PATH/custom/include/krumo.
  4. 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);
Jens Grassel Written by:

Solving problems and burning chrome for fun and profit.