dbg for debug

This commit is contained in:
云风
2012-09-14 12:04:14 +08:00
parent 374b65d199
commit 32dee2bbaa
6 changed files with 101 additions and 11 deletions

11
service/dbg.lua Normal file
View File

@@ -0,0 +1,11 @@
local skynet = require "skynet"
local cmd = { ... }
skynet.start(function()
local list = skynet.call(".launcher","lua", unpack(cmd))
for k,v in pairs(list) do
print(k,v)
end
skynet.exit()
end)