Debug option in Drone

I’d like to enable debug in Drone to do troubleshooting. I found there is a debug option in agent setting

But in above installation document, it doesn’t mention if the same variable DRONE_DEBUG supported in Drone server as well?

By the way, when I search debug in, I didn’t get any results.

No results found for query "debug"

Seems the search function doesn’t work properly.

I can answer my question with these codes

I tried the option DRONE_DEBUG for both drone server and agent, seems only get debug logs from agents. No extra logs from drone server.