Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The option is disabled in admin and it says "Not available. You may need to install external dependencies for use this plugin." So I installed the plugin in my browser, enabled it and nothing. Could you help me out?
Comments
Comment #2
willzyx CreditAttribution: willzyx commentedHi @hkirsman! you need to install the ChromeLogger php library (ChromePhp).
You can install the library with composer
once you have installed the library you need to clear cache for use ChromePhp dumper
Comment #3
hkirsman CreditAttribution: hkirsman commentedI'm using https://github.com/drupal-composer/drupal-project, so root of the project is not the same as drupal root (which is /web for my project). I tried to run the command you mentioned both in project root and in web folder. This did not enable the ChromePhp option.
Comment #4
willzyx CreditAttribution: willzyx commented@hkirsman the operations needed for install the lib are the same even if you use the composer drupal project; you need to run composer in the root of the project (not in /web).
After the installation you need to clear the cache via
drush cr
or using the ui (/admin/config/development/performance)Also make sure to use the latest devel release because until recently (29/05) there was a bug in ChromePhp and FirePhp dumpers (see #2735353: Find ChromePHP and FirePHP with Composer Autoloader).
Let me know if it helps
Comment #5
xcono CreditAttribution: xcono as a volunteer commented@willzyx it works, thank you.
And may require to increase fastcgi buffer on nginx + php-fpm.
Comment #6
willzyx CreditAttribution: willzyx commentedMarking this issue as fixed. Feel free to reopen if you need support or have other questions
Comment #7
hkirsman CreditAttribution: hkirsman commentedTx, it works. So again:
Also I got "502 Bad Gateway" with dpm($form) in hook_form_alter so I had to add:
fastcgi_buffer_size 128k;
to my nginx config.
And of course get the plugin for Chrome https://chrome.google.com/webstore/detail/chrome-logger/noaneddfkdjfnfda...