add restriction to debug logging in game controller