Only load debug tool when debug is set