diff --git a/doc/administration/auth/ldap/ldap-troubleshooting.md b/doc/administration/auth/ldap/ldap-troubleshooting.md
index 42bf2d2679a1d677832612aa3711bb5af085c36b..7617db1186d79f0924a96e8f6a60233979cf56ad 100644
--- a/doc/administration/auth/ldap/ldap-troubleshooting.md
+++ b/doc/administration/auth/ldap/ldap-troubleshooting.md
@@ -501,7 +501,8 @@ To sync all groups manually when debugging is unnecessary,
 [use the Rake task](../../raketasks/ldap.md#run-a-group-sync) instead.
 
 The output from a manual [group sync](ldap_synchronization.md#group-sync) can show you what happens
-when GitLab syncs its LDAP group memberships against LDAP.
+when GitLab syncs its LDAP group memberships against LDAP. Enter the [rails console](#rails-console)
+and then run:
 
 ```ruby
 Rails.logger.level = Logger::DEBUG