Debugging SugarCRM using Krumo

sugarcrmdevelopers —  December 20, 2012 — 2 Comments

Editor’s Note: Reposted from, authored by Jens Jahnke.

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);

2 responses to Debugging SugarCRM using Krumo


    Although there is an issue in the require_once path, it should be ‘custom/include/krumo/class.krumo.php’.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s