debug window.location