Now printing debug information that will prove useful when url parsing fails for some reason.