less than 1 minute read

If you have a need to enable debug mode for a guest user you will notice that the guest user does not appear in the list.

In order to turn on debug mode for the guest user you will need to use the developer console and set the field UserPreferencesUserDebugModePref to be true. See example below:

update new User(Id = '<<GuestUserId>>', UserPreferencesUserDebugModePref=true);