From bcf97ecd1be81f0c650b6be15724b89003470538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91?= <273461474@qq.com> Date: Wed, 7 Aug 2024 14:14:04 +0800 Subject: [PATCH] =?UTF-8?q?debug=5Fconsole=20help=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0getenv,setenv=E4=BF=A1=E6=81=AF=20(#1966)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/debug_console.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/debug_console.lua b/service/debug_console.lua index c2527f11..6a70b6ba 100644 --- a/service/debug_console.lua +++ b/service/debug_console.lua @@ -172,6 +172,8 @@ function COMMAND.help() dumpheap = "dumpheap : dump heap profilling", killtask = "killtask address threadname : threadname listed by task", dbgcmd = "run address debug command", + getenv = "getenv name : skynet.getenv(name)", + setenv = "setenv name value: skynet.setenv(name,value)", } end