add DEBUG mechanism, we can open it to look up the log