Add debugging option

Only show debugging messages if this flag is set in %options