enable/disable debug output via cmake option

5 jobs for master in 6 minutes and 51 seconds