Using console debugging