switch to debug module instead of console