Display resampling warning in DEBUG mode only