Allow configuration of /_debug url

In some environments the /_debug URL can't be used, so this allows a different URL to be used.