add isDebug flag to App