Questions tagged [krumo]

Krumo is a replacement for PHP's print_r() and var_dump()

A lot of developers use print_r() and var_dump() in the means of debugging tools. Although they were intended to present human readble information about a variable, we can all agree that in general they are not. Krumo is an alternative: it does the same job, but it presents the information beautified using CSS and DHTML.

Links

8 questions
2
votes
2 answers

PHP: krumo() for javascript

Is there a javascript version of PHP's krumo()? It's really helpful.
enchance
  • 29,075
  • 35
  • 87
  • 127
2
votes
1 answer

Disabling Krumo in Drupal Services

When I inspect a method in drupal services, I get the output formatted with something called Krumo. It wasn't like this before, it was just an array dump. I'm not sure what happened to cause this Krumo to get activated. Is there a way I can turn it…
Kamo
  • 3,547
  • 2
  • 19
  • 20
1
vote
0 answers

Can I specify "optional" libraries with Composer?

I have an independent, small PHP webapp I'm writing, and I've included the "oodle/krumo" package in the root "require" key of my composer.json file. I also want my application to work well in conjunction with Drupal. Unfortunately, when Drupal hooks…
Offlein
  • 665
  • 6
  • 22
1
vote
3 answers

drupal Error : call to undefined function Krumo

I'm implementing a block in Drupal to show comments of the user in his/her profile. I am using EntityFieldQuery and entity_load and the query works fine. I'm trying to use devel module but I can't see the result by using Krumo function. Any idea…
nooshinha
  • 249
  • 5
  • 15
1
vote
1 answer

Can krumo() and PHP ActiveRecord work together in CodeIgniter?

UPDATE: Krumo seems to be outdated, and I discovered Kint, which does everything I wanted out of Krumo. I started a CI site that uses PHP ActiveRecord. Please note: PHP ActiveRecord is not the same as CI ActiveRecord. ActiveRecord works great; more…
Ted
  • 2,211
  • 2
  • 19
  • 27
1
vote
0 answers

Krumo White Screen of Death

I'm trying to use Krumo on a PHP script I'm debugging, but I'm getting a white screen of death when I actually call Krumo. Here's what my code looks like. As far as I can tell, I'm following the instructions to install and use Krumo properly...…
PJ McCormick
  • 1,903
  • 14
  • 12
0
votes
1 answer

Using Krumo to debug facebook drupal module

im trying to debug facebook app with krumo, but facebook breaks it (i think he block the script) anyone has success to use krumo with facebook ?
amirash
  • 2,419
  • 5
  • 24
  • 26
0
votes
1 answer

PHP/Krumo: accessing arrays within arrays?

I'm using krumo to output data from a page, all the data is accessible through the $page variable. I have a field called customer with the following structure: customer (Array, 1 element) 0 (Array, 1 element) id (String, 2 characters )…
thatsCheating
  • 105
  • 1
  • 1
  • 3