added debugger.

The number of players is outputed on console. It behaves oddly.