Details

    • Testing Instructions:
      Hide
      1. go to "Site administration/Development/Debugging" and activate "debugonlyselected".
      2. Select a user from the users box on the right side and click on "Add". The user should appear on the left side.
      3. Repeat the previous step for all users you want to see the debug messages. It could be normal users or admins.
      4. Select the debug settings below the user selector.
      5. Login as one of the selected users.
      6. Force some error messages e.g.: some senseless lines in a view.php or so. The error messages should be shown to the user.
      7. Login as admin again and remove this user from the list: Select the user on the left side and click on "Remove".
      8. Login as this user again and the error messages should disappear.
      Show
      go to "Site administration/Development/Debugging" and activate "debugonlyselected". Select a user from the users box on the right side and click on "Add". The user should appear on the left side. Repeat the previous step for all users you want to see the debug messages. It could be normal users or admins. Select the debug settings below the user selector. Login as one of the selected users. Force some error messages e.g.: some senseless lines in a view.php or so. The error messages should be shown to the user. Login as admin again and remove this user from the list: Select the user on the left side and click on "Remove". Login as this user again and the error messages should disappear.
    • Affected Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-36687_master

      Description

      Hi,
      I think there should be a possibility to activate the debug mode only for a special defined group of users.
      So you can switch on the debug mode on productive systems without disturbing the work of the rest of users.
      I implemented it temporary as admin tool and integrated it into the settings page "admin/settings/development.php" and into the "lib/setup.php" to activate it.
      I think it is an important improvement of the debug mode.
      Best regards
      Andreas

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                12 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: