Optimised out of focus application in debug mode