Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36687

User related debug modes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.5
    • Administration
    • MOODLE_25_STABLE
    • MDL-36687_master
    • 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.

      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

            grabs Andreas Grabs
            grabs Andreas Grabs
            Rajesh Taneja Rajesh Taneja
            Votes:
            12 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.