FreeKill/lua/core/debug.lua
notify f0212d54cf
Pattern (#129)
为Pattern增加了否定语法
优化几个类的__tostring元方法
增加调试器第三方库,编写调试文档
2023-04-21 04:29:52 +08:00

9 lines
236 B
Lua

-- SPDX-License-Identifier: GPL-3.0-or-later
---@diagnostic disable: lowercase-global
inspect = require "inspect"
dbg = require "debugger"
function p(v) print(inspect(v)) end
function pt(t) for k, v in pairs(t) do print(k, v) end end