fix debug settings for config templates