Files
factorio-scenario-ExpCluster/modules/commands/debug.lua
Cooldude2606 604fb66f46 Commands
2019-07-22 18:34:42 +01:00

14 lines
475 B
Lua

--[[-- Commands Module - Debug
- Adds a command that opens the debug frame
@commands Debug
]]
local DebugView = require 'modules.gui.debug.main_view' --- @dep modules.gui.debug.main_view
local Commands = require 'expcore.commands' --- @dep expcore.commands
--- Opens the debug pannel for viewing tables.
-- @command debug
Commands.new_command('debug','Opens the debug pannel for viewing tables.')
:register(function(player,raw)
DebugView.open_dubug(player)
end)