Most of us that develop things to WordPress have seen it – The white screen of death. But there is no reason to be alarmed, there is actually a really simple way of figuring out what is wrong.
Add this simple code to your wp-config.php.
if (isset($_GET['debug']) && $_GET['debug'] == 'secret') define('WP_DEBUG', true);
Next time you you want to see debug message you simply add ?debug=secret at the end of your URL like this.
Of course you should change “secret” to something else…