Added the 'debug' option.