Idea for a 'debug mode' where debug information is shown on each page, and code related messages are logged into the database