diff --git a/apachesolr.admin.inc b/apachesolr.admin.inc
index 35b9195..48c1609 100644
--- a/apachesolr.admin.inc
+++ b/apachesolr.admin.inc
@@ -1138,3 +1138,26 @@ function apachesolr_index_config_form_submit($form, &$form_state) {
   content_clear_type_cache();
   drupal_set_message(t('Your settings have been saved.'));
 }
+
+/**
+ * Callback for node/%node/devel/apachesolr
+ */
+function apachesolr_devel($node) {
+  $item              = new stdClass();
+  $item->entity_type = 'node';
+  $item->entity_id   = $node->nid;
+  $item->bundle      = '';
+
+  module_load_include('inc', 'apachesolr', 'apachesolr.index');
+  $documents = apachesolr_index_entity_to_documents($item, apachesolr_default_environment());
+
+  $output = '';
+  foreach ($documents as $document) {
+    $debug_data = array();
+    foreach ($document as $key => $value) {
+      $debug_data[$key] = $value;
+    }
+    $output .= kdevel_print_object($debug_data);
+  }
+  return $output;
+}
diff --git a/apachesolr.module b/apachesolr.module
index 1974c11..3ef049e 100644
--- a/apachesolr.module
+++ b/apachesolr.module
@@ -215,6 +215,18 @@ function apachesolr_menu() {
     'type'               => MENU_CALLBACK,
   );
 
+  // securing the path
+  if (module_exists('devel')) {
+    $items['node/%node/devel/apachesolr'] = array(
+      'title'            => 'Apache Solr',
+      'page callback'    => 'apachesolr_devel',
+      'page arguments'   => array(1),
+      'access arguments' => array('access devel information'),
+      'file'             => 'apachesolr.admin.inc',
+      'type'             => MENU_LOCAL_TASK,
+    );
+  }
+
   // We handle our own menu paths for facets
   if (module_exists('facetapi')) {
     $file_path = drupal_get_path('module', 'facetapi');
diff --git a/apachesolr.admin.inc b/apachesolr.admin.inc
index 35b9195..1f06cbb 100644
--- a/apachesolr.admin.inc
+++ b/apachesolr.admin.inc
@@ -1138,3 +1138,26 @@ function apachesolr_index_config_form_submit($form, &$form_state) {
   content_clear_type_cache();
   drupal_set_message(t('Your settings have been saved.'));
 }
+
+/**
+ * Callback for node/%node/devel/apachesolr
+ */
+function apachesolr_devel($node) {
+  $item = new stdClass();
+  $item->entity_type = 'node';
+  $item->entity_id = $node->nid;
+  $item->bundle = '';
+
+  module_load_include('inc', 'apachesolr', 'apachesolr.index');
+  $documents = apachesolr_index_entity_to_documents($item, apachesolr_default_environment());
+
+  $output = '';
+  foreach ($documents as $document) {
+    $debug_data = array();
+    foreach ($document as $key => $value) {
+      $debug_data[$key] = $value;
+    }
+    $output .= kdevel_print_object($debug_data);
+  }
+  return $output;
+}
diff --git a/apachesolr.module b/apachesolr.module
index 1974c11..3ef049e 100644
--- a/apachesolr.module
+++ b/apachesolr.module
@@ -215,6 +215,18 @@ function apachesolr_menu() {
     'type'               => MENU_CALLBACK,
   );
 
+  // securing the path
+  if (module_exists('devel')) {
+    $items['node/%node/devel/apachesolr'] = array(
+      'title'            => 'Apache Solr',
+      'page callback'    => 'apachesolr_devel',
+      'page arguments'   => array(1),
+      'access arguments' => array('access devel information'),
+      'file'             => 'apachesolr.admin.inc',
+      'type'             => MENU_LOCAL_TASK,
+    );
+  }
+
   // We handle our own menu paths for facets
   if (module_exists('facetapi')) {
     $file_path = drupal_get_path('module', 'facetapi');
