Add debugging output to get_player_stats method.