Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Developer Mode

From MoodleDocs
Revision as of 15:56, 25 May 2022 by Sara Arjona Téllez (talk | contribs) (This page will not be migrated to new devdocs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Warning: This page is no longer in use. The information contained on the page should NOT be seen as relevant or reliable.


This page outlines the admin settings that can (and probably should) be set when developing Moodle. Do Not use these settings on a production system, as it will cause major performance issues. You can adjust these to your requirements, but they should cover most areas of development.

All the links below can be found in the Settings block.

Enable Debugging

The following settings will display errors, warnings, and notices generated by your code that should be fixed.

Site administration ► Development ► Debugging

  • Set "Debug Messages" to "DEVELOPER"
  • Check "Display Debug Messages"
  • Other settings on this page can be enabled as required.

Disable Caching

These settings will ensure that changes to Javascript will be reflected immediately, and will make Javascript easier to debug with tools like Firebug.

Site administration ► Appearance ► AJAX and Javascript

  • Disable "YUI Combo Loading"
  • Disable "Cache Javascript"

This setting will ensure that CSS and image changes are reflected immediately

Site administration ► Appearance ► Themes ► Theme settings

  • Check "Theme Designer Mode"

This setting will ensure that any language string changes are reflected immediately

Site administration ► Language ► Language settings

  • Uncheck "Cache all language strings"