Krumo output with debug()
Use a custom code and define your own debug function that uses dsm if available or debug if not:

function my_debug($data, $label = NULL, $print_r = FALSE) {
  if (function_exists('dsm')) {
    dsm($data, $label);
  }
  else {
    debug($data, $label, $print_r);
  }
}


But keep in mind that you should avoid any debug code in production.