Fixed not show the debug messages.