A better way to do debugging would be to have a TextNode that you can use to feed text to. Or otherwise change something in the display (e.g, add a shapenode circle that shows up when touched, moves with your finger, and goes away when released). You can add TextNodes that move with each of your other nodes that show the coordinates or other debugging info. And so on.

Print is a strange one because it both tries to print to a TextNode built into the scene, but it also tries to print to the console if memory serves.