Add -debug to Generator in debug builds.