I need to access my login form array using kpr() and dsm() functions but it's not working when I logged out from the site. How to debug and access the login form array as logged out.

1 Answer 1


You need to grant the Access developer information permission to the anonymous user role.

Be sure to revoke it again before releasing the site, it's an easy way to leak sensitive information.

  • So, I need to give permission of devel module to the anonymous user.? Sep 28, 2017 at 8:04
  • 1
    Yes, developer output is hidden from anonymous users by default (for probably obvious reasons)
    – Clive
    Sep 28, 2017 at 8:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.