Moodle Plugins directory: User related debugmode | Moodle.org
User related debugmode
Admin tool “User related debugmode”
Purpose
If you want to activate the debugging mode for some users on your system, the setting of $CFG->debugusers
isn’t the best solution. You have to edit the config.php
which allways is a risk to break you system. Also with this setting you only change the behaviour of the function debugging()
. But if the debugging setting is turned of you’ll never see the debug messages.
Why do I need this?
If you adminstrate some productive systems sometimes you have a
situation to need to turn on the debugging mode. But if you do this on a
productive system, all users will see the debugging messages. In most
cases it isn’t what you want.
So with this plugin you can turn on the debugging mode just for you or some selected users.
Here are the main features of this plugin:
- You can do all settings on the interface. There is no need to edit the
config.php
. - You can turn on the full set of debugging features for defined users. This means you can leave the moodle standard debug setting to “None”.
- You can turn on the debuggin mode just for the current session (ad hoc debugging). So you don’t need to turn it off after usage.
Installation
- Copy this plugin into the folder
admin/tool
inside your moodle installation. - Go to the Site administration -> Notifications to start the install process.
Usage
After the installation you will find the new link User related debugmode below Site administration -> Development
The Ad hoc debugmode you can turn on in your profile settings or in the frontpage menu.
Maybe the plugin developer-maintainer could send an Email to Martin at Moodle HQ or/and to Moodle developers, or post a suggestion in Moodle tracker.
I use Moodle for my team of writers at
--- config.php ---
require_once(__DIR__ . '/lib/setup.php');
require_once($CFG->dirroot.'/admin/tool/userdebug/lib.php');
Thanks for trying.
Wenn ich die komplette JSON Datei lade, steht auch alles korrekt drin. Es scheint daher ein API-Problem zu sein
Ich nutze immer die komplette JSON-Datei ohne Filter. Da steht alles korrekt drin und die Updates passen. Du solltest das in Tracker melden.
--------
I understand that this is annoying. However, there's not much I can do about it. It seems to be a general problem with the API.
I always use the complete JSON file without filters. It contains everything correctly and the updates are correct. You should report this in the Moodle Tracker.
Ein erneutes Release mit Maturity = STABLE sollte das Problem also beheben.