Fixed console not showing up in debug mode