Added debug flags for the startup process.