mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
14 lines
278 B
Lua
14 lines
278 B
Lua
local DebugView = require 'features.gui.debug.main_view'
|
|
local Command = require 'utils.command'
|
|
|
|
Command.add(
|
|
'debug',
|
|
{
|
|
debug_only = true,
|
|
description = 'Opens the debugger'
|
|
},
|
|
function(_, player)
|
|
DebugView.open_dubug(player)
|
|
end
|
|
)
|