debug mode for printing specific entry of memory