Added show/hide button for the debug messages.