Add more debug options and log levels.