set debug attribute before startup
typo