debug facilities added to Application class