Log debug information in release builds

I'm a horrible person