add support for commands in chat (namely /debug)