Module:Debug

local exports = {};

function exports.print_table(node) if type(node) ~= "table" then if type(node) == "string" then return "\"" .. node:gsub("\"", "\\\"") .. "\""; else return tostring(node); end end out = ""; for key, value in pairs(node) do       out = out .. print_table(key) .. " = " .. print_table(value) .. ",";   end return "{" .. out .. "}"; end

return exports;