You added $rcmail_config['imap_debug'] = true;
high in the config file. However the default setting $rcmail_config['imap_debug'] = false;
a little lower overrides your setting again.
Maybe I was not clear enough. Remove your entry and change the default setting to true. (about line 48 or 50)