diff --git a/inc/html.php b/inc/html.php
index 96c4eaa1a5f36f5c337096016642b10baad7ad67..a2a726406f4d193f629c022b55427bcd7c29c2d0 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1629,7 +1629,9 @@ function html_debug(){
 
     if($auth){
         print '<b>Auth backend capabilities:</b><pre>';
-        print_r($auth->cando);
+        foreach ($auth->getCapabilities() as $cando){
+            print '   '.str_pad($cando,16) . ' => ' . (int)$auth->canDo($cando) . NL;
+        }
         print '</pre>';
     }
 
diff --git a/lib/plugins/auth.php b/lib/plugins/auth.php
index ec8ed7e580ef72723e6e5728dc92f69a5a7c067f..dc66d63805234b31a81fd678a794c9c872136f50 100644
--- a/lib/plugins/auth.php
+++ b/lib/plugins/auth.php
@@ -54,6 +54,18 @@ class DokuWiki_Auth_Plugin extends DokuWiki_Plugin {
         // constructors do the real work
     }
 
+    /**
+     * Available Capabilities. [ DO NOT OVERRIDE ]
+     *
+     * For introspection/debugging
+     *
+     * @author  Christopher Smith <chris@jalakai.co.uk>
+     * @return  array
+     */
+    public function getCapabilities(){
+        return array_keys($this->cando);
+    }
+
     /**
      * Capability check. [ DO NOT OVERRIDE ]
      *