change console to debug