Early exit if we're not debugging. This stops errors in IE9