added the debug logic that will print local player information