make debug-mode for location text