Make debug level configurable before plugin startup