@@ -123,10 +123,18 @@ UniValue debug(const JSONRPCRequest& request)
123
123
{
124
124
if (request.fHelp || request.params .size () != 1 )
125
125
throw std::runtime_error (
126
- " debug ( 0|1|addrman|alert|bench|coindb|db|lock|rand|rpc|selectcoins|mempool"
127
- " |mempoolrej|net|proxy|prune|http|libevent|tor|zmq|"
128
- " dash|privatesend|instantsend|masternode|spork|keepass|mnpayments|gobject )\n "
126
+ " debug \" category\"\n "
129
127
" Change debug category on the fly. Specify single category or use '+' to specify many.\n "
128
+ " \n Arguments:\n "
129
+ " 1. \" category\" (string, required) The name of the debug category to turn on. Can be one of the following:\n "
130
+ " addrman, alert, bench, cmpctblock, coindb, db, http, leveldb, libevent, lock, mempool,\n "
131
+ " mempoolrej, net, proxy, prune, qt, rand, reindex, rpc, selectcoins, tor, zmq, dash\n "
132
+ " (or specifically: chainlocks, gobject, instantsend, keepass, llmq, llmq-dkg, llmq-sigs,\n "
133
+ " masternode, mnpayments, mnsync, privatesend, spork).\n "
134
+ " Can also use \" 1\" to turn all categories on at once and \" 0\" to turn them off.\n "
135
+ " Note: If specified category doesn't match any of the above, no error is thrown.\n "
136
+ " \n Result:\n "
137
+ " result (string) \" Debug mode: \" followed by the specified category.\n "
130
138
" \n Examples:\n "
131
139
+ HelpExampleCli (" debug" , " dash" )
132
140
+ HelpExampleRpc (" debug" , " dash+net" )
0 commit comments