debug the location