Add DEBUG option to output URL before retrieving it.