Files
factorio-scenario-ExpCluster/exp_scenario/module/commands/debug.lua
2024-11-19 22:36:52 +00:00

11 lines
354 B
Lua

--[[-- Commands - Debug
Adds a command that opens the debug frame
]]
local DebugView = require("modules.exp_legacy.modules.gui.debug.main_view") --- @dep modules.gui.debug.main_view
local Commands = require("modules/exp_commands")
--- Opens the debug gui.
Commands.new("debug", { "exp-commands_debug.description" })
:register(DebugView.open_debug)