added more debug flags.