Add simple xml debug output. When both --xml and --debug is used there will be xml debug output.