Prevent loading the application twice in debug if there is a release build in place as well