Debug Drupal apachesolr module

To see what is indexed on each entity, use the Solr Devel module.

To debug the requests that get sent to Solr with the apachesolr module, you can use the devel module to dpm the $params variable in the DrupalApacheSolrService::search() method. As of this writing, that means doing something like this at around line 936 in Drupal_Apache_Solr_Service.php: