Set debug modules correctly