[Debug] ensured that the Debug tools can only be registered once