summaryrefslogtreecommitdiffstats
path: root/src/commands/script-debug.json
blob: ebba38a6ca3c6ddcd20c07172230fa6d8ad43e42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
    "DEBUG": {
        "summary": "Sets the debug mode of server-side Lua scripts.",
        "complexity": "O(1)",
        "group": "scripting",
        "since": "3.2.0",
        "arity": 3,
        "container": "SCRIPT",
        "function": "scriptCommand",
        "command_flags": [
            "NOSCRIPT"
        ],
        "acl_categories": [
            "SCRIPTING"
        ],
        "arguments": [
            {
                "name": "mode",
                "type": "oneof",
                "arguments": [
                    {
                        "name": "yes",
                        "type": "pure-token",
                        "token": "YES"
                    },
                    {
                        "name": "sync",
                        "type": "pure-token",
                        "token": "SYNC"
                    },
                    {
                        "name": "no",
                        "type": "pure-token",
                        "token": "NO"
                    }
                ]
            }
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}