added global debug viewer

example for adding debug output in SpaceShip.cs