Logs chat messages and chat-like console output to factorio-current.log for debugging.
Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.
__chat-debug__/control.lua:188: attempt to index global 'command' (a nil value) stack traceback: __chat-debug__/control.lua:188: in main chunk
The correct name seems to be commands (https://lua-api.factorio.com/latest/index-runtime.html).
commands
sorry