User related debugmode

Maintained by Andreas Grabs
With this plugin you can define the debugmode for only some selected users.
Price option: Free

Supports Moodle 3.7-5.2 See all versions
Latest release: 2 months ago
Installations: 459
Downloads (last 90 days): 542

Frankenstyle name: tool_userdebug
Administration tools

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

One of the best developer plugins Andreas, many thanks!
Was thinking of some enhancements that will make it even more useful for the developers working in different environments for the same site. Even if you don't have time to develop them, just let me know if they make sense:
1. Display PHP and Moodle version in the yellow overlay. Would be helpful when people working with different PHP and Moodle versions
2. Make the colour of the overlay configurable, perhaps position too.
Thanks again for the great plugin.
Ich vermute, das hängt damit zusammen, dass die beiden anderen veröffentlichten Versionen noch mit "Maturity = BETA" gekennzeichnet sind. Soweit ich weiß, filtert die Plugin-API diese dann raus.
Ein erneutes Release mit Maturity = STABLE sollte das Problem also beheben.
Ich verstehe, dass das ärgerlich ist. Allerdings kann ich hier nicht viel tun. Es scheint ja ein generelles Problem mit der API 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.
Das wäre ärgerlich. Ein Update führte leider dazu, dass Moodle 4.1 nicht mehr lief und die alte Version erstmal wieder händisch hergestellt werden musste.
Ja, da scheint etwas an der API nicht zu passen. Wenn ich das für das unilabel aufrufe, dann passt das: https://download.moodle.org/api/1.3/pluginfo.php?plugin=mod_unilabel&format=json&branch=4.1
Wenn ich die komplette JSON Datei lade, steht auch alles korrekt drin. Es scheint daher ein API-Problem zu sein sad.
There seams to be something wrong with the version labeling of this plugin. The Moodle plugin version API offers just the latest version for Moodle 4.5, even when filtering for Moodle 4.1. (https://download.moodle.org/api/1.3/pluginfo.php?plugin=tool_userdebug&format=json&minversion=0&branch=4.1) But this plugin version fails to work with 4.1.
Helpful for me
Hi at all, please note there is no need anymore to modify the config.php. So you can use this plugin just with a regular installation.
Thanks for trying.
Hi Ryley, thanks for trying out this plugin. The require_once line has to be appended after the line with require_once(__DIR__ . '/lib/setup.php');
--- config.php ---
require_once(__DIR__ . '/lib/setup.php');
require_once($CFG->dirroot.'/admin/tool/userdebug/lib.php');
When I put require_once($CFG->dirroot.'/admin/tool/userdebug/lib.php'); Moodle crashes. When I change even one symbol it doesn't crash but obviously, the plugin doesn't work.
I use Moodle for my team of writers at
This user_related_debugmodus plugin is great. I also think this plugin should go into Moodle core. It will help admins while it does not unnecessarily disturb regular users in a production environment. I only wished I had seen it before.
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.
http://tracker.moodle.org/browse/MDL-34632 was created for this case. Feel free to contribute any discussion or patch there smile