added debug output to compile