add rebaseUrls and debugMode options

I don't need ``rebaseUrls()`` and output result.