add --debug option to see xml-rpc dialog.